How to prevent double form submission?
-
Hi,
I’m building a custom plugin that involves submitting data using a form. The form works quite well but it is susceptible to double submission. How can I prevent double form submission?
I used this. It disables the submit button but it prevents inserting of the values into the database table:
<form ... onsubmit="myButton.disabled = true; return true;">
How can I fix this?
Thanks in advance!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to prevent double form submission?’ is closed to new replies.