Hooks

Articles

gform_recaptcha_valid_hostnames

The filter gform_recaptcha_valid_hostnames allows developers to define the set of hostnames considered valid for reCAPTCHA verification.

gform_register_init_scripts

Tap into Gravity Forms “initialization scripts” functionality and register your own scripts to run inline with Gravity Forms.

gform_repeater_sub_field_input

This article explains how to use the gform_repeater_sub_field_input filter, which allows you to modify the HTML of a sub-field input before it is rendered inside a Repeater field.

gform_replace_merge_tags

Use the gform_replace_merge_tags filter to create your own custom merge tags.

gform_require_login

The gform_require_login filter can be used to override the form requireLogin property; does the user need to be logged in to view and use the form?

gform_require_login_pre_download

This filter can be used to require the user be logged in before the download URL will allow access to the file.

gform_required_legend

The gform_required_legend filter enables the legend displayed at the bottom of the form header, which explains how required fields are indicated, to be overridden.

gform_reset_pre_conditional_logic_field_action

The gform_reset_pre_conditional_logic_field_action JavaScript filter allows developers to prevent the field value being reset to its default value when hidden by conditional logic on the frontend.

gform_rest_api_capability_delete_entries

Filters the capability required to delete entries via the REST API v2.

gform_rest_api_capability_delete_feeds

Filters the capability required to delete feeds via the REST API v2.