gppa_has_empty_field_filter_value

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

Description

Filter whether a field has missing field filter values.

Note, this filter’s name is close to gppa_has_empty_field_value which is for filtering the value of a field with a dynamically populated value if this method returns true.

Usage

Filter all fields.

add_filter( 'gppa_has_empty_field_filter_value', '__return_true' );

Filter all fields in a specific form.

add_filter( 'gppa_has_empty_field_filter_value_FORMID', '__return_true' );

Filter a specific field in a specific form.

add_filter( 'gppa_has_empty_field_filter_value_FORMID_FIELDID', '__return_true' );

Parameters

  • has_empty_field_filter_value bool

    Whether the current fields has missing field filter values.

  • field \GF_Field

    Current field.

  • form array

    Current form.

  • field_values array

    Current field values.

  • dependency_fields_by_group array

    Fields that are depended upon in the current field’s filters.

Since

This filter is available since Gravity Forms Populate Anything 1.2.20.