problem with submits
-
Hi, today i found out that some forms have a problem.
I’m using
jQuery(‘.wpcf7-form button’).click(function() to hide the submit button after user clicks on it and
document.addEventListener( ‘wpcf7submit’, function( event ) to show it again.
Some forms have this problem :
when some empty required fields exist and user submits, the button is hidden, the error “you must fill all required fields” is displayed and then the button is shown again.
At that case the functions are working and i can “catch” the wpcf7submit event.
When the user submits the same form with all data required, the button is hidden, but the js cant “catch” the wpcf7submit event and the button is not shown again. Also, the “the form submitted successfully” message is not shown, but the system sends the email and the submission of the form is recorded to flamingo plugin.What should i check?
best regards,
- The topic ‘problem with submits’ is closed to new replies.