Hooks

Articles

gform_duplicate_field_link

The gform_duplicate_field_link filter allows for modification of the form field duplicate link. This will change the link for all fields.

gform_duplicate_message

This filter is executed when a form fails the duplicate field validation, before the validation message is displayed. Use this filter to change the the message that is displayed when a field fails the duplicate value validation.

gform_edit_field_link

The gform_edit_field_link filter allows for modification of a form field edit link. This will change the link for all fields.

gform_editor_field_settings

The gform_editor_field_settings filter allows the editor settings that are used for the current field, including those inherited from the inputType, to be overridden.

gform_editor_js

This action hook can be used to inject Javascript into the form editor page.

gform_editor_js_set_default_values

Use this hook to define default field properties when creating new field types.

gform_editor_sidebar_panel_content

The gform_editor_sidebar_panel_content action hook is used to echo the content for a custom panel in the form editor sidebar.

gform_editor_sidebar_panels

The gform_editor_sidebar_panels filter enables custom panels to be registered for display in the form editor sidebar.

gform_email

This filter is executed when creating the email field and can be used to modify the “Email” label.

gform_email_background_color_data

Allows the background color for the field data in the html email to be changed.