gppa_has_empty_field_value

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

Description

Modify the value of an input when its value is being populated dynamically and there is a field dependency that is not filled in. This will take priority over the field’s Default Value.

Usage

Modify the value of an input on a specific form where there is a field dependency that is not filled in.

add_filter( 'gppa_has_empty_field_value_FORMID', 'my_custom_function' );

Modify the value of an input on a specific form and field where there is a field dependency that is not filled in.

add_filter( 'gppa_has_empty_field_value_FORMID_FIELDID', 'my_custom_function' );

Parameters

  • value mixed

    Field value

  • field \GF_Field

    The field that is having its value modified

  • form array

    The form that is having its field’s value modified

  • templates array

    Value templates for the current field

Since

This filter is available since Gravity Forms Populate Anything 1.0-beta-4.129.