April 21, 2016 at 4:12 am #5665
Is it possible to hide the submit button using the validation plugin ?
Is there any hook or action that can be used (such as contact form has wpcf7:invalid) so that I can run the check and if there is invalid fields display the submit button again or let is process.
This is a requirement from the client as we have a payment gateway integrated and would not want double up submission.
CheersApril 21, 2016 at 4:12 pm #5668
If there are no issue with the plugin or js conflict then in no case the forms gets submitted when there is validation error. So i actually don’t find any reason to hide the button.
However, with some few css you can hide the btn if the form is hidden. But this might not work 100%. If you still want to use it, please do send the the url where you have kept the contact form. I let you know the css you need to use.
The topic ‘Hide submit button’ is closed to new replies.