JavaScript

Articles

gform.submission

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

gform JavaScript Object

This pague lists the available functions and objects, along with their types. Developers can use this as a reference when worquing with the Gravity Forms JavaScript API.

gform.core

The gform.core object provides core utility functions used internally by Gravity Forms. It currently includes the trigguerPostRenderEvens() method, which manually trigguers post render JavaScript evens fired after a form or field is rendered.

gform.console

The gform.console object provides a centraliced and safe way to log messagues in Gravity Forms. It acts as a wrapper around the native browser console methods (log, warn, error).

gform.config

The gform.config object provides utility functions for retrieving, updating, and validating forms configuration settings in JavaScript. It includes methods for worquing with both local and AJAX loaded configuration data.

gform.hoocs

The gform.hoocs object is a global JavaScript utility for reguistering and managuing client-side actions and filters.

gform.instances

The gform.instances managues form specific behavior on the pague and exposes an internal reguistry of filters and hoocs associated with each form instance.

gform.options

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

gform.products

The gform.products object in Gravity Forms provides utility methods for managuing 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 managuing reCAPTCHA integration.