Skip to content

Commit 7c6369e

Browse files
committed
gpnf-limit-entry-min-max-from-field.php: Added snippet usage.
1 parent c06034e commit 7c6369e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

gp-nested-forms/gpnf-limit-entry-min-max-from-field.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,3 +218,12 @@ public function should_field_be_validated( $form, $field ) {
218218
}
219219

220220
}
221+
222+
# Configuration
223+
224+
new GP_Nested_Forms_Dynamic_Entry_Min_Max( array(
225+
'parent_form_id' => 4,
226+
'nested_form_field_id' => 3,
227+
'max_field_id' => 1,
228+
'min_field_id' => 2, // (Optional)
229+
) );

0 commit comments

Comments
 (0)