Hooks

Articles

gform_list_post_item_add

The gform_list_post_item_add JavaScript action in Gravity Forms is fired after a new item is added to a List field, allowing further actions to be performed.

gform_list_post_item_delete

The gform_list_post_item_delete JavaScript action in Gravity Forms is fired after an item is deleted from a List field, allowing further actions to be performed.

gform_load_admin_scripts_globally

Gravity Forms now loads our new JavaScript bundles that were introduced in 2.5 across all admin screens. We have done this since we are using code splitting to dynamically inject JavaScript as it is needed.

gform_load_bulk_choices_choice

The gform_load_bulk_choices_choice filter allows each of the current fields choices to be overridden as they are loaded into the Bulk Add / Predefined Choices UI.

gform_load_field_choices

This JavaScript hook allows help text to be displayed below the choices in the Form Editor.

gform_load_field_settings

Fires on the Form Editor page after a field's settings panel has been opened and settings have been displayed.

gform_load_form_settings

This filter fires when the Form Settings page is loaded.

gform_loaded

Use this hook to initialize any functionality that depends on Gravity Forms.

gform_localized_script_data_$name

Allows users to filter the data being localized for a given localized object $name.

gform_logging_message

Use this filter to customize the messages sent to Gravity Forms logging. If the result returned is false, the message will not be logged.