| CARVIEW |
Select Language
HTTP/2 301
date: Sun, 28 Dec 2025 07:58:42 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_post_render/
server: cloudflare
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
x-redirect-by: WordPress
fastcgi-cache: HIT
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=BBzx2I7Rx%2F5pTBNaQIf6EZY51OHMhxUDCiTq9pGZC%2FcP5pWJUxl%2FrVblcBh2UQ%2B4xrT6okAxCiMC8frwur%2Bb84Dri1Qce9HjM%2F5mXANDcpb%2B0FwD"}]}
cf-ray: 9b4f839bdd8a20c5-BLR
HTTP/2 200
date: Sun, 28 Dec 2025 07:58:43 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
vary: Accept-Encoding
strict-transport-security: max-age=604800
strict-transport-security: max-age=31536000; includeSubDomains
x-content-type-options: nosniff
x-content-type-options: nosniff
x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
x-frame-options: SAMEORIGIN
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self';
referrer-policy: no-referrer
referrer-policy: strict-origin-when-cross-origin
link: ; rel="https://api.w.org/"
link: ; rel="alternate"; title="JSON"; type="application/json"
link: ; rel=shortlink
fastcgi-cache: HIT
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=nwg6UBSvxbizAT2AL5O0SvVAfYdE5lzyeVnUy%2B3Jq7YIVmwPmbA6AsFfoZTtbzrrfkclGx6925mGFkOovldcy9sF%2Fzojoou%2BX8s75dHttBLhCs7U"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b4f839d7fe520c5-BLR
gform_post_render - Gravity Forms Documentation
gform_post_render
Description
This jQuery hook 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 page on multi-page forms, form rendered with validation errors, confirmation message displayed, etc.
Note: This event was replaced by the gform/postRender event in Gravity Forms 2.9.0.
Usage
jQuery(document).on('gform_post_render', function(event, form_id, current_page){
// Do something.
});
Parameters
- event Event Object
The JavaScript event object.
- form_id integer
The ID of the form in use.
- current_page integer
The page number of the page being loaded.
Examples
jQuery(document).on('gform_post_render', function(event, form_id, current_page){
console.log( 'gform_post_render - form id:', form_id );
});
Placement
Reference the article Adding JavaScript Code to the Frontend of Your Site.
Since
This filter was added in Gravity Forms version 1.6.
Source Code
This filter is located in form_display.php