diff --git a/README.md b/README.md index b5ae978..99ed3fe 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Gravity Forms: Multiple Form Instances ===================================== -### Version 1.0.7 +### Version 1.0.8 ----- diff --git a/gravityforms-multiple-form-instances.php b/gravityforms-multiple-form-instances.php index 48178f6..361fe5e 100644 --- a/gravityforms-multiple-form-instances.php +++ b/gravityforms-multiple-form-instances.php @@ -5,7 +5,7 @@ * Description: Allows multiple instances of the same form to be run on a single page when using AJAX. * Author: tyxla * Author URI: https://github.com/tyxla - * Version: 1.0.7 + * Version: 1.0.8 * License: GPL2 * Requires at least: 3.0.1 * Tested up to: 4.3 @@ -48,7 +48,7 @@ function gform_get_form_filter($form_string, $form) { } // this is where we keep our unique ID - $hidden_field = ""; + $hidden_field = " "trigger('gform_post_conditional_logic', [" . $random_id . ",", 'gformShowPasswordStrength("input_' . $form['id'] . '_' => 'gformShowPasswordStrength("input_' . $random_id . '_', "gformInitChosenFields('#input_" . $form['id'] . "_" => "gformInitChosenFields('#input_" . $random_id . "_", - $hidden_field => $hidden_field . "", + $hidden_field => "" . $hidden_field, ); // allow addons & plugins to add additional find & replace strings @@ -101,4 +101,4 @@ function gform_get_form_filter($form_string, $form) { // initialize the plugin global $gravity_forms_multiple_form_instances; -$gravity_forms_multiple_form_instances = new Gravity_Forms_Multiple_Form_Instances(); +$gravity_forms_multiple_form_instances = new Gravity_Forms_Multiple_Form_Instances(); \ No newline at end of file diff --git a/readme.txt b/readme.txt index 47b769f..218df17 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: tyxla Tags: gravity, form, multiple, gravity forms Requires at least: 3.0.1 Tested up to: 4.3 -Stable tag: 1.0.7 +Stable tag: 1.0.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -25,6 +25,9 @@ This plugin addresses this issue, allowing multiple forms to be displayed on the == Changelog == += 1.0.8 = +Now properly supporting `gform_field_values`. + = 1.0.7 = Tested with WordPress 4.3.