Hi,
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...
Hi,
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...
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.
http://www.gravityhelp.com/documentation/page/Gform_submit_button