If the user tries to use a nested form, and submit data through that nested form, it will error out and say:
Please complete hcaptcha
There is not one as it’s nested form. hcpatcha on the bottom of the form is there but currently breaks and Gravity forms using nested forms.
]]>I think this is a great plugin idea, well done!
In my forms I often use the Nested Forms add-on from Gravity Wiz. It would be great if support for that could be included.
Cheers,
Phil
<?php foreach ( $form_data['repeater'][226] as $data ): ?>
<!-- The sub-field IDs will be unique to your repeater field -->
Email: <?= $data[2] ?>
<?php endforeach; ?>
But an error is issued.
Warning: Invalid argument supplied for foreach() in....
What’s wrong?
google_invre_render_widget_action
if it’s called inside a nested form (that is, a form that is embedded in other form).
I know that nested forms are not compliant to HTML standard, but as they are supported by all modern browsers I think your plugin might support them as well.
In order to support them, I’ve added the following line to the renderInvisibleReCaptcha javascript function:
if ( ! jQuery(holder).closest('form').is(form) ) continue;
A version not depending on jQuery could be implemented, but my project works with jQuery.
Without this line, this function will try to create the recaptcha inputs several times for the nested form, and it won’t work.
]]>An error of type E_ERROR was caused in line 558 of the file XXX/public_html/wp-content/plugins/gravity-forms-dps-pxpay/includes/class.GFDpsPxPayAddOn.php. Error message: Call to undefined function \GP_Nested_Forms::get_instance()
]]>It used to work wonderfully, but is no longer functional in my experiences.
]]>