Need help with multiple buttons on single form...
Posted on 2009-12-17
I have a webform that the user can click one of two buttons at the bottom. Both buttons save the changes on the form to a MySQL Database, but the "Previous" button returns to one form and the "Next" button goes to a different form.
My <form> statement points to a single .asp script that saves the data. What I want is for that script to somehow tell which button the user clicked and then redirect to the appropriate form.
What would the code for that redirect based upon the button click look like?