Form with multiple actions
Author | Message |
---|---|
Pepsida | # Posted two hours ago |
![]() |
Hi all,
Here is what I want to do. <form method="post" action="submit.php" action="save.php">I need to "link" each action to one of the submit button and I don't know how to proceed. Any tips on how I can do it ? Thanks in advance ! |
Ads | |
Rel0ad | # Posted two hours ago |
![]() |
You don't need two forms to do that. |
Posey | # Posted one hour ago |
![]() |
This can be done by changing the values of the submit buttons, but you will need a server side language to if($_POST['send']) { ... }You can read more about how to handle forms here : https://www.siteraw.com/html-css/how-to-create-a-website/forms. |
Demonecromancy | # Posted one hour ago |
![]() |
You can also fiddle with JS if you want to send the post data to another page entirely, not just redirect the user there. |
Jaguar | # Posted 7 minutes ago |
![]() |
If you want a complete code. <?php |
Post a reply
Please be kind and courteous in your replies. Don't roast others for no reason.