Filter to enable/disable preserving values if something gets checked prior to the AJAX request resolving. That way, inputs don’t lose their values or get unchecked.
window.gform.addFilter( 'gpi_preserve_values_on_refresh', 'my_custom_function' );
Whether values should be preserved. Defaults to
Field with inventory that was refreshed.
Property field that caused the field with inventory to be refreshed.
Whether the field was refreshed on the initial load of the form.
Payload used to initiate the
AJAX response from
This filter is available since Gravity Forms Inventory 1.0-beta-3.12.