gform_pre_form_editor_save

Description

This filter fires on the Form Editor page when a form is saved.

Usage

gform.addFilter( 'gform_pre_form_editor_save', function( form ) {
    // do stuff
 
    return form;
} );

Parameters

Examples

This example changes the form title to “Testing…”.

gform.addFilter( 'gform_pre_form_editor_save', function( form ) {
    form.title = 'Testing...';
 
    return form;
} );

Source Code

This filter is located in form_editor.js