1. Description
  2. Usage
  3. Parameters
  4. Since


Filter whether to reset the value of the current field with inventory that is using properties.

Clearing out the value of choice-based fields will reset the selected choice back to the placeholder or the first available option.


Apply to all fields on all forms.

add_filter( 'gpi_reset_value_on_property_change', 'my_custom_function' );

Apply to all fields on a specific form.

add_filter( 'gpi_reset_value_on_property_change_FORMID', 'my_custom_function' );

Apply to a specific field on a specific form.

add_filter( 'gpi_reset_value_on_property_change_FORMID_FIELDID', 'my_custom_function' );


  • reset boolean

    Whether to reset the value. Defaults to true if choice-based field, false otherwise.

  • field GF_Field

    The current field.

  • form array

    The current form.


This filter is available since Gravity Forms Inventory 1.0-beta-1.0.