Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

multiple form submit for different form action

<form method="POST">
<input type="submit" formaction="default_url_when_press_enter" style="visibility: hidden; display: none;">
<!-- all your inputs -->
<input><input><input>
<!-- all your inputs -->
<button formaction="action1">Action1</button>
<button formaction="action2">Action2</button>
<input type="submit" value="Default Action">
</form>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #multiple #form #submit #form #action
ADD COMMENT
Topic
Name
6+5 =