| CARVIEW |
Select Language
HTTP/2 301
date: Sat, 27 Dec 2025 06:45:15 GMT
content-type: text/html; charset=UTF-8
location: https://docs.gravityforms.com/gform_post_form_activated/
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: MISS
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=DI79Dh%2B%2BPacFCey3l7K0SIPkSom3jFMjVxGckhHG0QGfPeZDt1vCIxSJmCohMptyZmnABVNnxDdfDPBXNENbDUqTtFHTJXVTGP1DsLJHoVEs%2Fawr"}]}
cf-ray: 9b46da99adcdd817-BLR
HTTP/2 200
date: Sat, 27 Dec 2025 06:45:15 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=7Ger3s9RArC0SXgL8uvx4d5YwQTayq%2FwOqpjwCyUFxqMFmajMMWfdepcC2RLjrsZWJYb4LJo8rp6rY6cBLiFk4WuD%2BOok5Up0gyEc%2BBd9e8VQw79"}]}
cf-cache-status: DYNAMIC
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
content-encoding: gzip
cf-ray: 9b46daa0dd2dd817-BLR
gform_post_form_activated - Gravity Forms Documentation
gform_post_form_activated
Description
The “gform_post_form_activated” action in Gravity Forms is triggered after an inactive form is marked as active, allowing further actions to be performed.
Usage
add_action( 'gform_post_form_activated', 'my_function', 10, 2 );
Parameters
- $form_id int
The ID of the form that is being marked as active.
Examples
add_action( 'gform_post_form_activated', 'my_post_form_activated_func', 10);
function my_post_form_activated_func( $form_id ) {
// perform action after a form has been activated
}
Source Code
This action hook is located in forms_model.php.