WordPress.org

Ready to get started?Download WordPress

Forums

Easy Modal
[resolved] gravity forms validation not working (6 posts)

  1. vatsal12
    Member
    Posted 9 months ago #

    Hi,

    I am trying gravity form as shown in demo.
    http://easy-modal.com/demo/

    But ajax validation is not working. I can't see spinner on my form like showed in demo.

    When i press submit, modal disappears without doing validation and if i click again, it shows errors.

    Thanks

    http://wordpress.org/plugins/easy-modal/

  2. danieliser
    Member
    Plugin Author

    Posted 9 months ago #

    So you are using your own site correct not the demo?

    Make sure you include the ajax=true parameter in your forms shortcode.

    If you have a link i can see i can try to help but without more information i'm not sure where to begin.

    Also there is a bug that is patched in v1.3 which should be released sometime this weekend that fixes issues with the forms not loading JS and CSS. This is easy to detect. If the form doesnt look like it normally does in a regular page then your forms JS isnt loading which would lead to problems.

    If you want to patch it temporarily til the update comes out you can use this function in your themes function.php

    http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts

  3. vatsal12
    Member
    Posted 9 months ago #

    Hi,

    Thank you very much for quick reply.
    Yep I have ajax=true enabled.

    I figured out the problem.It is problem with gravity forms.

    If you use captcha then ajax doesn't load. So when i removed captcha i got ajax spinner and validation.

    I really appreciate your response.

  4. danieliser
    Member
    Plugin Author

    Posted 9 months ago #

    Not a problem. The above fix might still be necesary if styles arnt loading. But if you have any other forms on the page those scripts may be loaded already anyways.

  5. vatsal12
    Member
    Posted 9 months ago #

    Yehh..
    Actually i was facing problem for css also.
    It worked perfectly after adding it in header.php

    Thanks a lot.

  6. danieliser
    Member
    Plugin Author

    Posted 9 months ago #

    This is now patched since v1.3. You no longer have to do it manually.

Reply

You must log in to post.

About this Plugin

About this Topic