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 Forms + prettyPhoto

  1. I am trying to set up a gravity forms SIGN-UP form using prettyPhoto. This form will just require the user to insert a phone number and their name.

    I was able to get the form on the prettyPhoto using hidden inline content, the problem that I am having is that there is validation/notification messages when clicking submit. For example when the form has not been filled out and I click submit, the prettyPhoto closes and so there is no sign of error messages.

    I was able to post the website online, the form pops up using the button on the top right corner of the website, the button reads "Sign Up For Text Alerts!".

    Again, the problem that i am having is that i receive no validation errors when the form has not been filled out, and having two required fields it should come up with an error message. When the form has been submitted correctly, I do receive a validation message.

    Thanks in advance to anyone.

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  2. The website address is:

    http://clubphotobooth.landapixel.com

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  3. Are you embedding the form with AJAX turned on?

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

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  4. Yes, I am using a shortcode with AJAX turned on. Like i said, the form does give me a message when the form has been filled out correctly.

    With AJAX turned on, and when the form has not been filled out correctly, the form doesn't close. I know the validation message is there because if i close out of prettyPhoto and reopen it, without refreshing the browser, the validation messages are there.

    If I turn off AJAX and submit the form without filling out the required fields, the prettyPhoto just closes.

    Thank you for looking into this.

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  5. I believe you just need to enqueue the scripts because of how you are placing the form. If you take a look at that link above, down at the bottom - there are instructions on how to do this. Try that out and see if it solves your problem.

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  6. Sounds good,

    I will try that and let you know how it goes.

    Thank you for your support..

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  7. I just tried that but it did not seem to fix the problem, this is what i did.

    I added the following code right before http://www.pastie.org/3910861

    http://www.pastie.org/3910857

    Did i do this correctly?

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  8. Looks like that should be good to go. I don't have much experience with prettyPhoto specifically, but there is this tutorial out there that we reference to people when they are trying to use a lightbox type of modal box for their forms if you wanted to see if that made a difference:

    http://websitesetuppro.com/how-to-open-gravity-forms-form-in-a-lightbox/

    Posted 11 years ago on Monday May 14, 2012 | Permalink
  9. I just don't really want to install another lightbox plugin when my theme is already using prettyPhoto.

    Posted 11 years ago on Monday May 14, 2012 | Permalink