PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Gravity form with FancyBox

  1. Paperman
    Member

    Hi,

    I'm using a plugin called Easy FancyBox.
    I have this page https://clevelandkollel.com/534-2/ set that when someone clicks on the image it brings up the form.
    When a user successfully inputs all required field, he gets redirected to a thank you page.
    If there's an error however, the form just close and the user stays on the same page.
    The user has no way of knowing that his form wasn't processed.
    if the user opens the form again all the missing information fields will be highlighted in red.

    Is there a way to prevent the popup from closing on error?
    Is there a way to only display the submit button if there are no errors?
    Any other ideas how i can get around this problem?

    Here's the content of my post :

    <div class="fancybox-hidden" style="display: none;">
    <div id="fancyboxID-1" style="width: 550px; height: 1250px;">[gravityform id="5" name="Raffle"]
    
    </div>
    </div>
    <a class="fancybox" href="#fancyboxID-1"><img  src="http://clevelandkollel.com/wp-content/uploads/2012/12/Raffle_January.jpg"  /></a>

    Thanks in advance.

    Posted 7 years ago on Friday December 28, 2012 | Permalink
  2. David Peralty
    Administrator

    The issues you are experiencing are related to the AJAX tool you are using. You'll want to talk to them about stopping the pop-up from closing upon form submission. Then it should stay open until they click the X or whatnot. And as such, will see any error reporting that Gravity Forms provides.

    Posted 7 years ago on Friday December 28, 2012 | Permalink
  3. Paperman
    Member

    Thanks David, that will probably be complicated.
    Is there a way to prevent the "submit" button from appearing unless all required info was inputted?

    Thanks!

    Posted 7 years ago on Friday December 28, 2012 | Permalink
  4. Paperman
    Member

    David,

    I actually tried something very simple and it works beautifully!
    All I needed to do was add ajax="true" and that prevents the form from closing out while testing.

    Thanks!

    Posted 7 years ago on Sunday December 30, 2012 | Permalink
  5. Thank you for the update.

    Posted 7 years ago on Sunday December 30, 2012 | Permalink

This topic has been resolved and has been closed to new replies.