Hooks

Articles

gform.options

The gform.options Object configures jQuery UI accordion widgets for the form editor and adds field interfaces.

gform.products

The gform.products object in Gravity Forms provides utility methods for managing product related functionality. A Product field in the form is required for the object to be available.

gform.recaptcha

The gform.recaptcha object provides utility methods and properties for managing reCAPTCHA integration.

gform.state

The gform.state object in Gravity Forms is a utility for managing form state, including storing data, registering callbacks, and observing state changes

gform.submission

The gform.submission object provides functions for managing form submissions with JavaScript. It includes methods for submitting a form, detecting the submission method, and preventing duplicate submissions.

gform.tools

The gform.tools object is a toolkit that includes functions for tasks like debouncing events, manipulating DOM elements, handling cookies, and managing events.

gform.utils

The gform.utils object in Gravity Forms provides a collection of utility functions and modules to assist developers in performing common tasks such as DOM manipulation, data processing, browser compatibility, etc.

gform/ajax/post_ajax_submission

This filter allows developers to customize or modify the response data, including additional information, custom messages, or altered submission details.

gform/ajax/post_page_change

The gform/ajax/post_page_change event allows developers to to execute custom JavaScript logic after a form submission is processed via AJAX.

gform/conditionalLogic/applyRules/end

The gform/conditionalLogic/applyRules/end event allows you to react after conditional logic is applied. Use it to trigger animations, restore inputs, or handle field visibility updates in conversational forms.