gppa_run_pre_render_in_ajax

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

Description

Filter whether gform_pre_render should be utilized when fetching the new markup for fields when populated via AJAX.

While disabling gform_pre_render during AJAX can be helpful in some cases, consider it a workaround as it can have adverse effects on certain integrations.

Usage

add_filter( 'gppa_run_pre_render_in_ajax', 'my_custom_function' );

Parameters

  • run_pre_render boolean

    Whether or not to use gform_pre_render filter. Defaults to true

  • field \GF_Field

    The field that is being populated.

  • form array

    The current form.

Since

This filter is available since Gravity Forms Populate Anything 1.0.6.