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.

Exit lightbox on submit?

  1. Ayyaz


    I'm using greybox to load up my gravity form, is there anyway of jumping out of the lightbox when the submit button is clicked?

    It's set to go to another page for confirmation, i don't want this page loading up in the lightbox...

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink
  2. I'm not familiar with greybox as there are literally hundreds of modal window solutions out there.

    I'm assuming greybox uses an iframe? Have you considered using a modal that loads inline content rather than using a frame?

    If you are redirecting to another page you may need to put code in that page to have it break out of the iframe and load in the main window. You might be able to do this using the gform_submit_button hook on the form submit button, but i'm not positive what you'd have to implement as far as code goes in this instance.

    Posted 12 years ago on Tuesday November 29, 2011 | Permalink