• Resolved jehlysycorr

    (@jehlysycorr)


    If I place a Gravity Form inside the popup, the plugin changes the form action url, which is causing the form to work incorrectly – especially in IE 11. It causes a 404 error on the action url. If I fix the javascript that changes the form action, the form will post. However, if there are validation errors then the form cannot be submitted again. I have not figured out that issue.

    On https://www.sycorr.com/popup-test-page/ the popup appears after 5 seconds and has a single field. Posting this form, causes a 404 error to appear in Chrome’s console. However the form does post. If the form is posted with no values it causes a validation error and cannot be posted again.

    To reproduce use Gravity Forms 2.2.5 and Popups version 1.9.0.1. Create a page and a popup with a Gravity Form inside the popup. Set the popup to appear on the page you created.

    Is this a known issue with Gravity forms? Does the Pro version not have this issue? Why does popups change the form url?

    Thanks,

    James

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Damian

    (@timersys)

    Hi James,
    To make it work with Gravity form you need to enable AJAX mode in the gravity form. Please revert any change you made to the files ( or install plugin again) and set ajax On when you insert the form shortcode.

    If you like the plugin / support please leave a short review. It’s a tremendous help for us!

    Thanks

    Thread Starter jehlysycorr

    (@jehlysycorr)

    On the page linked in the original post, I did a fresh install of Popups and Ajax mode is turned on in the form.

    James

    Plugin Author Damian

    (@timersys)

    Thanks I can see the error you mention. How do you reproduce teh validation errors? I do see the right validation error messages
    Check
    https://gyazo.com/024dc29c5fa7dc59c0d2728d27d0b241

    Fix for post in dev version https://github.com/timersys/popups/tree/develop

    Thread Starter jehlysycorr

    (@jehlysycorr)

    Thank you for fixing the form action bug. I will install that in my site and let you know if the validation issue still persists. If it does, I will give you the steps to reproduce.

    James

    Thread Starter jehlysycorr

    (@jehlysycorr)

    The form action issue is resolved but the validation issue still persists. However, I have no idea if that is a problem with Popups or Gravity Forms. I am checking with Gravity Forms now and will let you know if the issue is on GF side or popups.

    Thread Starter jehlysycorr

    (@jehlysycorr)

    I just wanted to report back that Gravity Forms support will not look at this issue because they feel that since the form works outside the popup that it is an issue with the popups plugin. They suggested that I choose a different popup plugin that is known to work with Gravity Forms, but I really don’t want to do that. I will attempt to debug this issue myself and see what I can find out, but from what I’ve looked at so far it’s kind of a hairy mess between all of the ajax interaction and other javascript.

    Thanks for your help though.

    Plugin Author Damian

    (@timersys)

    Hi @jehlysycorr,
    try the new version and let me know what happens. Like I replied earlier I do see the validation errors on my end.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Issue with Gravity Forms’ is closed to new replies.