-
form with 2 submit buttons
Hi
I've wondered what should I do if I have 2 submit buttons for 2 different actions, that the visitor can have in a web form.
* those actions are referring 2 different PHP pages.
Thanks
-
-
Have the page that the form submits to, check which submit button was pressed and either (1) execute the appropriate code; or (2) redirect to the appropriate page.
The form may submit back to itself to save creating an intermediate page.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks