Multi-page form in modal window

Hi everyone!

We are implementing a multi-page form into a modal window (thickbox) but the javascript doesn’t interact with the form, we can’t switch “pages” and can’t submit the form.

our demo is at https:// rs.instadesign .co.uk/shop/retro/cateye-brown-brow-with-champagne-bridge/ - click the add to basket link

Any help is appreciated

Regards

We recommend this plugin to put your Gravity Forms form in a modal (even a multi-page form):

I would rather code it manually so we have control over it, is this possible?

I did try the plugin but it doesn’t work for a few reasons:

  1. the actual form is hidden in the popup, I used the shortcode
  2. if I use browser tools to show it, clicking the next and previous buttons closes the popup.

Any help would be appreciated

I’m afraid we can’t help with custom code and we generally recommend that plugin. It works very well and the plugin author works closely with Gravity Forms to ensure compatibility. I’ll leave this open in case there is someone else in the community that can help with the custom functionality.

I don’t understand how it’s custom code, the custom code has been done to implement the form in the modal but the plugins code stops working when implemented, I am able to write the code to make it work but i then run the risk of it breaking in a future plugin update.

  1. I’ve seen this error once before, and it was caused by a third party JavaScript conflict with Gravity Forms Conditional Logic code. I’d recommend temporarily disabling all plugins except Gravity Forms and the Popup plugin and re-test. If the problem persists, also try temporarily swap themes. This will help you narrow down the cause of the conflict and assist you in debugging.
1 Like

You can also use the Debug add-on to quickly disable plugins and your theme without disrupting any site visits:

1 Like
© 2008 - 2019. Gravity Forms is a project by Rocketgenius Inc.