Dynamically Set Entry Min/Max From Field Value

Code

Filename: gpnf-limit-entry-min-max-from-field-usage.php

<?php
/**
 * Gravity Perks // Nested Forms // Dynamically Set Entry Min/Max From Field Value
 * https://gravitywiz.com/documentation/gravity-forms-nested-forms/
 */

new GP_Nested_Forms_Dynamic_Entry_Min_Max( array(
	'parent_form_id'       => 4,
	'nested_form_field_id' => 3,
	'max_field_id'         => 1,
	'min_field_id'         => 2, // (Optional)
) );

Leave a Reply

Your email address will not be published. Required fields are marked *

  • Trouble installing this snippet? See our troubleshooting tips.
  • Need to include code? Create a gist and link to it in your comment.
  • Reporting a bug? Provide a URL where this issue can be recreated.

By commenting, I understand that I may receive emails related to Gravity Wiz and can unsubscribe at any time.