bookmark_bordergform_load_form_settings

Description

This filter fires when the Form Settings page is loaded.

Usage

<script type="text/javascript">
    jQuery(document).bind("gform_load_form_settings", function(event, form){
        if (form['id'] == 44){
            //do something specific to this form
            alert("Put your custom code here");
        }
    });
</script>

Parameters

Examples

This example uses the gform_admin_pre_render filter to load the hook. Once the Forms Settings page is loaded a message is displayed if the form id is 44.

add_action( ‘gform_admin_pre_render’, ‘pre_render_function’ );
function pre_render_function( $form ) {
?>

Placement

This code should be placed in the functions.php file of your active theme.

Source Code

This filter is located in form_settings.php