Skip to content
Discussion options

You must be logged in to vote

Instead of submit, use requestSubmit. submit simply submits the form without running any configured event handlers or custom logic. requestSubmit will behave the same as if the user submitted the form themselves.

Make sure to check browser support and potentially polyfill before using, though (only Safari 16 or later)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by M4rk3tt0
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants