JavaScript

Articles

gform_value_merge_tag

The gform_value_merge_tag filter allows developers to override the value a field merge tag returns in JavaScript. Deprecated: use gform/merge_tag/field_value.

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