gppa_submit_button (JS)

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Add custom submit button to the submit buttons to enable/disable
  5. Since

Description

Filter the submit button element that is used for enabling/disabling the button while Populate Anything is loading results.

Usage

window.gform.addFilter( 'gppa_submit_button', 'my_custom_function' );

Parameters

  • $submitButton JQuery

    The submit button element.

  • $form JQuery

    The form element.

Examples

Add custom submit button to the submit buttons to enable/disable

window.gform.addFilter( 'gppa_submit_button', function( $submitButton, $form ) {
    return $submitButton.add( $form.find( 'button#my-custom-button' ) );
} );

Since

This filter is available since Gravity Forms Populate Anything 1.2.55.