anfo Posted January 19, 2009 Share Posted January 19, 2009 is it possible to have multiple 'submit' buttons on one page and to be handled on one page? could it be done with a switch statement? any help gratefully recieved Quote Link to comment Share on other sites More sharing options...
chronister Posted January 19, 2009 Share Posted January 19, 2009 yes it is possible. You just create the buttons you want, and give them different names. Then when the form is posted, look for a particular name and do something with it. If you have criteria for displaying the button, e.g. if this equals that, display button 1, else display button 2, then use a switch statement to analyze your arguments, and display the one you wish based on those items. Nate Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.