Elementor Popup Fix

In reference to posts: Gravity Forms doesn't work inside Elementor Popup and Gravity forms not working in Elementor Popup

Issue: Form validation will not work when loaded from an Elementor Popup. You’ll get the error message (‘There was a problem with your submission. Please review the fields below’). When you click Submit for the 2nd time, it will work.

Solution: Copy the following to an HTML Code block on the popup. Replace the [1 with the form ID, so it was form ID = 5, then it would be [5,1]

<script>
jQuery(document).on('elementor/popup/show', function() {jQuery(document).trigger('gform_post_render', [1,1]); });
</script>
3 Likes

Hey Tom, This doesn’t seem to work for me. I followed your instruction to the letter, cleared my cache, and it’s still giving that same error message. Any ideas?

Thanks in advance!

Worked like a charm! Thanks for sharing.

1 Like

Hello,
The solution doesn’t seem to be functioning. Elementor popup, gravity form and Ajax activated. The problem is the same as described, is it possible Jquery is incorrect now?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.