So we discovered that the password show / hide functionality doesn’t work with this plugin enabled. Here’s the fix that you need to add to the $strings array in gravityforms-multiple-form-instances.php:
// Show / Hide Password
‘gformToggleShowPassword(“input_’ . $form[‘id’] . ‘_’ => ‘gformToggleShowPassword(“input_’ . $random_id . ‘_’,
If you use a multiform, then when you click the “back” button, the form is sent, and does not switch to the previous form.
]]>Looks like the plugin is no longer working maybe? Unless I’m doing some thing wrong. I installed it and I have a newsletter sign up form in the footer and the same form in a pop up modal. However when the plugin is activated and I click the sign up button on either the footer or the modal form, nothing happens. No error message or anything. It just doesn’t do anything.
Any help or pointers would be appreciated.
Thank you,
]]>There are many errors per second being logged to the JS console on (all) pages on the site in question.
recaptcha__en.js:523 Uncaught Error: reCAPTCHA has already been rendered in this element
at Object.t4 [as render] (recaptcha__en.js:523)
at HTMLDivElement.<anonymous> (gravityforms.min.js?ver=2.4.12:1)
at Function.each (jquery.min.js?ver=1.10.2:4)
at init.each (jquery.min.js?ver=1.10.2:4)
at renderRecaptcha (gravityforms.min.js?ver=2.4.12:1)
at (index):2538
This is due to the following code block being inserted multiple times on the page
<script type="text/javascript">
( function( $ ) {
$( document ).bind( 'gform_post_render', function() {
var gfRecaptchaPoller = setInterval( function() {
if( ! window.grecaptcha || ! window.grecaptcha.render ) {
return;
}
renderRecaptcha();
clearInterval( gfRecaptchaPoller );
}, 100 );
} );
} )( jQuery );
</script>
This code is inserted once for each form on the page.
Looking through the Gravity Forms plugin source, this seems to be generated by the ‘ensure_recaptcha_js’ function at line 253 of class-gf-field-captcha.php.
I contacted Gravity Forms support and they informed me that:
The error you’re seeing is the result of embedding the same form more than once in the page. As you know GF doesn’t support embedding the same form multiple times in the same page, and reCAPTCHA doesn’t like that either.
I can see that you have the Gravity Forms: Multiple Form Instances: by tyxla to workaround the limitation of not being able to embed the same form more than once, but that doesn’t seem to help with reCAPTCHA.
and to contact the author of the “Gravity Forms: Multiple Form Instances” plugin for assistance.
Any pointers?
]]>The plugin was working great, but once we added a CAPTCHA field to our form, it seems to no longer work. Has anyone else had this issue? Any ideas on how to resolve to allow there to be a CAPTCHA field, but also allow for multiple form submissions on the page without a refresh?
]]>Using this code to track a submission, it has stopped working.
jQuery(document).bind("gform_confirmation_loaded", function (e, form_id) {
if(form_id == 6) {
This the plugin compatibility with the native gform bind events?
]]>The Autoptimize plugins cache is getting very big, and I managed to track dow the issue to this plugin. Is there anybody else with the same issue? Or has a solution?
]]>I’m on the latest of Gravity Forms, Gravity Forms: Multiple Form Instances, and WP core. You can reproduce by creating one simple conditional logic setting on one field, then the whole form disappears with inline css display: none
on the div surrounding the <form> element.
Disable the GF: Multiple Form Instances, or remove the conditional logic, and the form returns. The conditional logic works as expected when GF: Multiple Form Instances is disabled.
]]>Gravity Forms 2.0.7.9
Gravity Forms: Multiple Form Instances 1.1.1
When Gravity Forms Multiple Intances enabled i can’t delete anymore a file after submiting a form. The function gformDeleteUploadedFile() doesn’t work.
Any idea?
Thx
I’m having a conflict issue with your plugin, Gravity Forms: Multiple Form Instances, and the Gravity Forms Signature Add-On. Would you be able to troubleshoot? The console error shows…
Uncaught TypeError: Cannot read property ‘nodeName’ of null
Thank you for any advise you can provide!
Type : bug
Version : WordPress 4.6 | Gravityforms 2.0.6 | Gravity froms multiple instances
Type of bug : open new window tab on Firefox 48 instead to stay in current window tab, when click on submit error with required field
Description :
Product listing, for each product you have an icon who call modal popup to display Form
Info supp :
Ajax enable to display form
Works with Chrome and Internet Explorer
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi! I am not sure if this plugin was supposed to resolve this issue – but I am opening a job application multi page form in a modal (and have a bunch of those on page), and everything is splendid (thank you!) but the “Back” button works like “Next” button (i.e. takes me to next page). Only the very first form works correct (prev button takes me to previous form page), but all the subsequent forms have previous button taking you to the next page. I tested a few instances on a regular page, without modal, the issue persists. I added a randomized previous button id, like you have in plugin for next button, but of course that does not resolve the issue ??
Thank you
Anna
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Just noticed this plugin broke my form’s conditional logic. Might want to look into that
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>The plugin seemed to work like a charm but I ran into some trouble trying to submit a single instance of a multipage form I have that is also running the Pro Add-ons: Coupons & Stripe.
I noticed the error while testing coupon codes. When I enter a code with the “Gravity Forms: Multiple Form Instances” plugin activated the page doesn’t show that the coupon code is added or change the total. Troubleshooting this problem I found the error in the console and also that if I disabled the “Gravity Forms: Multiple Form Instances” plugin the error was gone and the coupons seemed to work fine.
This is the console error:
Uncaught TypeError: Cannot read property ‘length’ of undefined —– gravityforms.min.js?ver=1.9.19:1
The part of the .js file referenced is here but the problem if fixed when “Gravity Forms: Multiple Form Instances” is deactivated:
if (a.length < 4)
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi there!
Its me again ??
I wanted to add another string to your plugin by using the provided gform_multiple_instances_strings filter. But unfortunately there is no form[‘id’] and $random_id given in the filter so that it is merely impossible to add useful strings.
So I suggest to change
$strings = apply_filters( 'gform_multiple_instances_strings', $strings );
to
$strings = apply_filters( 'gform_multiple_instances_strings', $strings, $form['id'], $random_id );
Thanks!
fludwig
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi there!
I found another string replacement that should be included in your plugin:
'gformDeleteUploadedFile(' . $form['id'] . ',' => 'gformDeleteUploadedFile(' . $random_id . ','
otherwise the upload file field “remove” button doesn’t work correctly.
Thanks!
fludwig
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hey Marin, I need your help.
I have this GF with conditional stuff https://pastebin.com/sDqKqwCQ
It has one section called “I am an” with 2 options: “Individual” and “Organisation”. So depending on what’s selected it shows the fields for Individual or Organisation.
Once the form is validated and GF shows errors, like “The field XXXX is required”, both sections are displayed (Individual and Organistion fields). So the conditional doesn’t work.
However, if I disable the pluging “Multiple Form Instances” that bug disappear.
Please, let me know if you know how to solve it.
PS: Using GF v1.9.18.3 and Multiple Form Instances v1.1.1
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi – just FYI, in order to get this to work, I had to change line 56 from:
‘ form_wrapper ‘
to:
‘ gform_wrapper’
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>I’m getting the following error from the GF Signature add-on JavaScript:
TypeError: document.getElementById(...) is null
This is obviously caused by the form ID change that this plugin uses. Is there a way to make the two compatible?
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hello,
We are doing a lot of jquery and PHP processing on our forms for a complicated solution – which includes having the same form multiple times on one page via AJAX.
Will the ID’s / classes that this plugin generates stay static – so we can target them with our selectors and they won’t change over time? Would create a lot of problems if it changes periodically or on changes to the form in the backend or whatnot.
Thanks for the great plugin!
Philip
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi Marin,
Great plugin!!!
Just encountered an issue –
I have a form with different types of fields. It works great with other field types except product calculation field. When I try to use ‘Product’ field with ‘Calculation’ as a field type, it doesn’t work.
Can you please help me to figure out the solution for this or can you please tell me when this plugin be made compatible with product calculation field?
Thanks!!!
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi,
I noticed that when using multiple forms with this plugin, that the tab index goes from form form to form instead of field to field in the same form. I don’t suppose anyone has run into this?
Thanks.
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hello,
I have instaled the plugin but i realy don’t find the plugin administration in wp-admin.
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>I am working on a site that has a gravity form in a fancybox modal window. The form has hidden fields and is being dynamically populated. My issue: If the user wants to fill out multiple forms on a long page they see the confirmation message. I would like the form to refresh after the confirmation message… I thought your plugin would do the trick, but unfortunately it breaks with the Gravity Forms CRM Add-On.
Any help is appreciated,
Thanks!
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Using this plugin, the calendar icon for the Date-picker field no longer displays. Any ideas?
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi,
I discovered that this plugin messes up the official Gravity Forms Stripe Add-On. The Stripe add-on uses javascript and expects the HTML IDs of the form(s) to be the “normal” ones whereas this plugin changes all the IDs to something unique.
I’m not sure of the solution but it’s probably good to be aware of the problem.
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi Martin,
Really useful plugin.
However, the form does not display if using conditional logic. I deactivated the plugin and the same form shows up. I am using the latest versions of wordpress, php, gform, and your plugin.
.
I sense that this may be due to wordpress 4.3 upgrade. Please inform if you can replicate the issue.
Many thanks
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi,
Attempting to use the same form multiple times on one page. Installed the plugin and it helps, but I want to run custom jQuery after form confirmation. I’m using the https://www.gravityhelp.com/documentation/article/gform_confirmation_loaded/ hook. The confirmation is being loaded twice for each form, even though a user is submitting a form once. I’ve tested this using an alert within the gform confirmation loaded hook. For each post, I am dynamically generating a form using a gravity forms shortcode.
Thanks!
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>Hi great plugin.
How can i exclude some form id from being generated iD?
I want that form id 2 want use this plugin. is there any hook for that?
Thanks
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>This is an odd one, hopefully it’s easy to fix!
I currently have the plugin “Gravity Forms User Registration Add-On” installed in conjunction with the “Gravity Forms: Multiple Form Instances” plugin. Using the “Gravity Forms User Registration Add-On” I was attempting to create a Create a User form, with a password field. The password field has the option to check to make sure of “Password Strength”.
With “Gravity Forms: Multiple Form Instances” installed, I get the following error in the Console Log –
Uncaught TypeError: Cannot read property ‘length’ of undefined
and the password strength field doesn’t work, making it so that the form cannot be submitted because the password field doesn’t pass the test. And as soon as I deactivate the “Gravity Forms: Multiple Form Instances”, the password field works.
Let me know if I can provide any other info.
https://www.ads-software.com/plugins/gravity-forms-multiple-form-instances/
]]>