Forums

This topic is locked

Form buttons to detail Page

Posted 06 Nov 2002 16:28:51
1
has voted
06 Nov 2002 16:28:51 Derran Williams posted:
Can anyone tell me how i may use form buttons to direct my page to a detail or related page? I can do it fine with text or images, but when i try and use a form button, it doesn like it, any suggestions anyone.

many thanks

derran

Replies

Replied 06 Nov 2002 22:53:22
06 Nov 2002 22:53:22 Brent Colflesh replied:
Dear Derran,
Examine the code with a text or image link - replicate that in the action variable of the form.

Regards,
Brent

Replied 07 Nov 2002 15:46:33
07 Nov 2002 15:46:33 Ned Frankly replied:
Or just put 'button' buttons for each item (no form necessary) and add an onClick to each one like:

onClick='window.location.href=MyPage.asp?ItemID=<%=Mydatabase.Field%>'

The form action method works fine as well, but you'll have to modify it prior to submit if you have more than one item on the page, or name/value your submit buttons in such a way that the receiving page will understand what's been pressed.

Ned Frankly
www.nedfrankly.com
You think I ramble on HERE?

Reply to this topic