JavaScript

Articles

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/products/product_field_changed

This JavaScript event is triggered when any price changes.

gform/post_init

This event is intended for use by add-ons that depend on core scripts. It fires once per form and provides the form ID as a parameter.

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_is_hidden

The gformIsHidden filter allows developers to customize whether a field is hidden due to conditional logic.

gform_generic_map_field_choices

This Gravity Forms Javascript filter allows third-party developers to change the items shown in a Generic Field Map value field based upon what is selected in the corresponding key field.

gform_merge_tags_supported_input_types

The filter gform_merge_tags_supported_input_types allows users to filter the field types which are available for use in the merge tag drop down.

gform_repeater_item_pre_add

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

gform_input_change

This JavaScript hook allows further actions to be performed when the **keyup** or **change** event is fired for an HTML **input**.

gform_spinner_url

Allows modifying the spinner URL when the gformAddSpinner() function is called directly.