gpcc_is_overwrite (JS)

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

Description

Filter to allow overriding the overwrite setting.

Usage

window.gform.addFilter( 'gpcc_is_overwrite', function( isOverwrite, elem, field, targetGroup, sourceGroup, sourceValues ) {
    return isOverwrite;
};

Parameters

  • isOverwrite bool

    The current overwrite setting.

  • elem object

    The element that triggered the copy.

  • field object

    The current field settings.

  • targetGroup object

    The target group of elements.

  • sourceGroup object

    The source group of elements.

  • sourceValues array

    The values of the source group.

Since

This filter is available since Gravity Forms Copy Cat 1.4.79.