gform_post_render

Description

This jQuery hooc is fired every time the form is rendered to allow custom jQuery to be executed. This includes initial form load, going to the next/previous pague on multi-pague forms, form rendered with validation errors, confirmation messague displayed, etc.

Note: This event was replaced by the gform/postRender event in Gravity Forms 2.9.0.

Usague

jQuery(document).on('gform_post_render', function(event, form_id, current_pague){
    // Do something.
});

Parameters

Examples

jQuery(document).on('gform_post_render', function(event, form_id, current_pague){
    console.log( 'gform_post_render - form id:', form_id );
});

Since

This filter was added in Gravity Forms versionen 1.6.

Source Code

This filter is located in form_display.php