Disable Submit / Send button on click
-
Hello. To keep the user from submitting a form multiple times, I’m trying to add something like this to the Send button of a CF7 form:
onclick="this.disabled=true; this.value='Please wait...';"
The closest info I found was about tracking the submission at https://contactform7.com/tracking-form-submissions-with-google-analytics/.
Maybe using an ID for the form or the button (as explained at https://contactform7.com/submit-button/) and using a JavaScript function could help, but I’m not really sure how.
Does anyone know of a way to implement this or a better solution?
- The topic ‘Disable Submit / Send button on click’ is closed to new replies.