Hooks

Articles

gform/repeater/item_pre_add

This JavaScript hook can be used to filter new Repeater Field groups before they are added.

gform/repeater/post_item_add

The gform/repeater/post_item_add action fires after a new repeater item is successfully added to the form. It allows developers to reinitialize JavaScript components such as datepickers, rich text editors, or custom field behaviors on the newly cloned fields.

gform/repeater/post_item_delete

The deleteRepeaterItem() function deletes a repeater item when its delete button is clicked. It updates repeater button visibility and dispatches the gform/repeater/post_item_delete event.

gform/stripe/elements/config/

The gform/stripe/elements/config/ filter allows for filtering the Stripe Elements configuration object before it is used to create Stripe Elements without a Payment Intent or Setup Intent.

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/submission/submission_started

The gform/submission/submission_started filter allows developers to execute custom synchronous logic immediately before a form submission is processed

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.