Hide submit button

Home Forums Jquery Validation for Contact Form 7 Hide submit button

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5665
    AD
    Guest

    Hi,

    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.

    Cheers

    #5668
    Dinesh
    Keymaster

    Hi AD,

    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.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Hide submit button’ is closed to new replies.