Multiple Form Instances Add-on for Gravity Forms
Run multiple instances of the same form on one page (with AJAX) without conflicts. An unofficial add-on for Gravity Forms.
Plugin info
Maintenance & Compatibility
Maintenance score
Maintained • Last updated 97 days ago • 10 reviews
Is Multiple Form Instances Add-on for Gravity Forms abandoned?
Likely maintained (last update 97 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Multiple Form Instances Add-on for Gravity Forms is used in conjunction with the awesome Gravity Forms plugin.
Usually, when you use multiple Gravity Forms with AJAX enabled on the same page, this causes issues with multiple form submission & error display, infinite loading and other issues.
This plugin addresses this issue, allowing multiple forms to be displayed on the same page without any issues.
Installation
- Install Multiple Form Instances Add-on for Gravity Forms either via the WordPress.org plugin directory, or by uploading the files to your server.
- Activate the plugin.
- That’s it. You’re ready to go!
Frequently Asked Questions
This plugin does not need any customization.
Simply install and activate it, and it will do its magic with your Gravity Forms.
In order for the magic to work, various occurences of the form ID are replaced with a random ID when rendering the form. This allows for multiple instances of the same form to be submitted without having the issue of submitting form B when submitting form A.
If a form has already been submitted, the submitted random ID will be preserved and used for the next submissions as well, otherwise a new unique ID is generated.
The plugin uses the default gform_get_form_filter Gravity Forms filter for performing the replacement.
Additionally, the plugin offers the following actions & filters:
gform_multiple_instances_strings
$strings (array). An array of find => replace pairs. Occurences of “key” will be replaced with the corresponding “value”.
$form_id (int). The original form id.
$random_id (int). The new, randomly generated form id.
This filter allows you to modify the default strings that will be replaced. The keys are the original strings, and the corresponding values are the strings that keys will be replaced with.
Review feed
Works flawlessly
Screenshots
Changelog
1.2
- TWEAK: Added Broken Image Fallback plugin promotion notice.
1.1
- TWEAK: Performed a full code review to meet WordPress.org coding standards.
- TWEAK: Updated plugin description and readme for clarity and compliance with WordPress.org guidelines.
- Compliance: Changed plugin display name to “Multiple Form Instances Add-on for Gravity Forms” to remove trademark from the beginning.
1.0
Initial version.