JavaScript
Articles
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.
gform_price_change
JavaScript filter that triggers when any pricing field is modified.
gform_load_field_choices
This JavaScript hook allows help text to be displayed below the choices in the Form Editor.