Skip to content

Commit 98884e5

Browse files
committed
add class with the original form ID to the form wrapper
1 parent 3f7fa1d commit 98884e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gravityforms-multiple-form-instances.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public function gform_get_form_filter( $form_string, $form ) {
5252

5353
// define all occurences of the original form ID that wont hurt the form input
5454
$strings = array(
55+
' gform_wrapper ' => ' gform_wrapper gform_wrapper_original_id_' . $form['id'] . ' ',
5556
"for='choice_" => "for='choice_" . $random_id . '_',
5657
"id='choice_" => "id='choice_" . $random_id . '_',
5758
"id='label_" => "id='label_" . $random_id . '_',

0 commit comments

Comments
 (0)