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>
1 Like

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!