gppa_is_supported_field (JS)

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

Description

Specify what fields can be populated by Populate Anything. This filter runs in the Form Editor and determines which fields the Populate Anything field settings will show for.

Usage

gform.addFilter( 'gppa_is_supported_field', 'my_custom_function' );

Parameters

  • isSupportedField boolean

    Whether or not the current field is supported for population. Defaults to false.

  • field GravityFormsField

    The current field selected in the Form Editor.

  • populate ‘choices’|’values’

    What is being populated. It will be either choices or values.

  • component Vue

    The Vue component for Populate Anything in the Form Editor.

Since

This filter is available since Gravity Forms Populate Anything 1.0.24.