Dynamic MIN Setting for the Number Field

A field’s settings can be set dynamically when the form is rendered on the page – this is when the field data is “localized” to the page for use by the form.

Dynamic Field Settings

The number field uses the settings num_min, num_max, num_step, which are unique to the number field and can be set dynamically when localized.

Related Filters

add_filter( ‘ninja_forms_localize_field’, ‘my_callback’ );

add_filter( ‘ninja_forms_localize_field_’ . $field_type, ‘my_callback’ );


Full Example