Is there any way to have multiple submit buttons in a form that sends the form to different pages?
Or should I let everything go through a separate page that will send this further based on div parameter?
Is there any way to have multiple submit buttons in a form that sends the form to different pages?
Or should I let everything go through a separate page that will send this further based on div parameter?
Yes, it is possible.
But it is impossible to help you further when you do not even say anything about asp version or anything.
Add a JavaScript onclick method on the appropriate buttons.
onclick = "this.form.action = minside.asp;"
What happens then if your browser does not have java enabled?
Javascript enabled? Ask me this is not a factor one needs to include a time when a programmer for the web. And if there are any specific users you think about that for some reason has turned off this you can add a "disclaimer" about this on your page. It is vetfall what I would do. In 2008 belongs JavaScript so closely with the web development that it is something one should be able to take that to be on.
Is it not better to have a form for each page you want to route the user to? I assume you do not need to send all the information on to each page.
Bookmarks