Reputation: 4353
How can I submit a form to more than one URL at the same click? Like the following (hypothetical):
<form action="url1" action="url2" method="post">
...
<input type=submit" value="Submit" />
</form>
Upvotes: 0
Views: 53
Reputation: 7821
You can do a sequential submit.
Submit to the first URL, and create a hidden form with all the fields from the original form.
After processing the form, if needed, call the submit action through javascript to go to the second action.
Upvotes: 1