Submit A Form With A Button Outside The Form
Last updated
Was this helpful?
Last updated
Was this helpful?
You can tie a submit button to a form that the button doesn't live inside of. The trick is to give the form an id
and then reference that id
with the button's form
property.
With this setup, clicking the Submit button will cause the form to be submitted.
See the for more details.