Hooks

Articles

gform_progressbar_start_at_zero

Use this filter to change the progress bar on multi-page forms to start at zero percent.

gform_purge_expired_incomplete_submissions_query

Allows the query used to purge expired incomplete (save and continue) submissions to be overridden.

gform_quiz_show_choice_values

This filter controls whether the values for the answer choices may be modified in the Form Editor.

gform_recaptcha_callback

The gform_recaptcha_callback filter in allows a custom callback function to be executed when the user successfully submits the captcha

gform_recaptcha_enterprise_keys_page_size

ReCAPTCHA’s Enterprise API can only retrieve 100 ReCAPTCHA keys at a time. The gform_recaptcha_enterprise_keys_page_size filter allows developers to set the pageSize to something smaller.

gform_recaptcha_init_script

This filter is no longer available since Gravity Forms 2.0.

gform_recaptcha_language

This filter has been removed. The recaptcha language can be configured in the form editor by editing the field or by using the gform_pre_render filter to set the $field->captchaLanguage property.

gform_register_init_scripts

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

gform_repeater_item_pre_add

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

gform_replace_merge_tags

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