gppa_no_results_value

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

Description

Modify the value of an input when no object results have been found. Note, the field’s Default Value will be used if field dependencies have not been filled in.

Usage

Modify the value of an input in a specific form when no object results have been found.

add_filter( 'gppa_no_results_value_FORMID', 'my_custom_function' );

Modify the value of an input in a specific form and field when no object results have been found.

add_filter( 'gppa_no_results_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.