JavaScript

Articles

gform/conditional_logic/field_action/end

The gform/conditional_logic/field_action/end event triggers when Gravity Forms finishes applying a conditional logic action (show or hide) to a target field.

gform/products/get_product_meta

The gform/products/get_product_meta filter can be used to modify the product metadata for a field.

gform/datepicker/pre_init

This article explains how to use the gform/datepicker/pre_init filter to modify the options used to initialize a field’s datepicker before it is rendered.

gform/ajax/pre_display_error

The gform/ajax/pre_display_error filter is triggered right before an Ajax error message is displayed. It allows developers to customize the error message shown when an Ajax form submission request fails.

gform/form_editor/initialized

The gform/form_editor/initialized event is triggered after the form editor has been initialized. It allows developers to perform actions once the editor is ready.

gform/ajax/post_submission_request

The gform/ajax/post_submission_request filter is used to modify the AJAX response after a form is submitted via AJAX, but before the markup is reloaded.

gform/ajax/pre_display_confirmation

The gform/ajax/pre_display_confirmation filter allows add-ons to override the default confirmation display behavior after an AJAX form submission.

gform/phone/countries

The gform/phone/countries filter allows you to customize the countries list displayed in the international phone field.

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/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.