gpnf_fetch_form_html_after_add_or_edit (JS)

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

Description

Filter to determine if the child form HTML should be refreshed after adding or editing entries.

Return “false” here to disable refreshing child form HTML via AJAX after new entries are added or edited.

Usage

gform.addFilter( 'gpnf_fetch_form_html_after_add_or_edit', 'my_custom_func' );

Parameters

  • refreshMarkup bool

    Whether or not to refresh HTML after adding entries.

  • formId int

    The parent form ID.

  • fieldId int

    The field ID of the Nested Form field.

  • gpnf \GPNestedForms

    Current instance of the GPNestedForms object.

  • args object

    The details of the request to add/edit the current entry.

Since

This filter is available since Gravity Forms Nested Forms 1.0.15.