The submit button element might remain clickable while a POST request is being run. The issue can result in submitting a form repeatedly.
To resolve the issue, you can customize the behavior to disable the submit button element upon a form submission. Proceed as follows:
Note: The code sample is given only as a starting point. You can modify the given script and the "The form is already submitted. Please wait." alert message as required.