S
shapper
Hello,
I have a form as follows (Just a smaller example what I have):
<form id="Edit" method="post" action="/Account/Edit">
<fieldset>
<label for="Name">Name</label>
<input id="Name" type="text" value="" name="Name"/>
</fieldset>
<fieldset>
<input id="Submit" type="submit" value="Save" title="Save"
name="Save"/>
</fieldset>
</form>
Can a form have two submit buttons?
Basically, I would like to go to /Account/Edit if Save is pressed or
some other action if another button on the form is pressed.
Thanks,
Miguel
I have a form as follows (Just a smaller example what I have):
<form id="Edit" method="post" action="/Account/Edit">
<fieldset>
<label for="Name">Name</label>
<input id="Name" type="text" value="" name="Name"/>
</fieldset>
<fieldset>
<input id="Submit" type="submit" value="Save" title="Save"
name="Save"/>
</fieldset>
</form>
Can a form have two submit buttons?
Basically, I would like to go to /Account/Edit if Save is pressed or
some other action if another button on the form is pressed.
Thanks,
Miguel