Hooks

Articles

gform/post_init

This event is intended for use by add-ons that depend on core scripts. It fires once per form and provides the form ID as a parameter.

gform/post_render

The gform/post_render event can be used to initialize scripts when a form loads. It is a direct replacement for gform_post_render.

gform/products/product_field_changed

This JavaScript event is triggered when any price changes.

gform/submission/pre_submission

The gform/submission/pre_submission filter should be used to perform custom actions between a form button (e.g. submit, next, previous) being clicked and the request being posted to the server.

gform/theme/scripts_loaded

The gform/theme/scripts_loaded event can be used to initialize scripts that depend on Gravity Forms front-end form scripts, including the JavaScript gform object.

GFSignature

GFSignature is the class which houses some of the functionality included by the Gravity Forms Signature Add-on.

GFStripe

GFStripe is the class which houses the main functionality of the Gravity Forms Stripe Add-on, it extends the GFPaymentAddOn class which is part of the add-on framework.

Google Analytics Feed Meta

The Feed Meta Object for the Google Analytics Add-On is an associative array with properties determining how the add-on should process the form submission.

gquiz_answer_indicator

This filter allows the HTML markup for the answer indicator to be changed.

gquiz_correct_indicator

This filter allows the image used when a user gets an answer correct on a quiz to be changed. This allows you to link to your own icon.