ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Help with HTML forms (https://www.scoobynet.com/computer-and-technology-related-34/142766-help-with-html-forms.html)

rik1471 21 October 2002 09:35 AM

Is there a way to have a form with a drop down selection box, which when you press the submit button directs to a different page depending on what the user has selected?? I am passing hidden fields using ASP, so the form has to use the POST function to direct to the next page.

Cheers,

RikW.

GaryK 21 October 2002 09:46 AM

rik,

two ways, you could either use javascript on the form page to process the form variables and jump straight to the correct page (do a search I have seen examples of this) or just read the form variable in your ASP and do a response.redirect. In both examples you will have to assign a value to each item in the drop down so you know which item was selected.

Gary

rik1471 21 October 2002 09:51 AM

Cheers :)


All times are GMT +1. The time now is 12:54 PM.


© 2024 MH Sub I, LLC dba Internet Brands