Filters

Articles

gform_form_tag

This filter is executed when the form is displayed and can be used to completely change the form tag (i.e. <form method="post">).

gform_form_theme_slug

The gform_form_theme_slug filter can be used to filter the form theme.

gform_form_update_meta

Allows modifying the form meta before it is saved to the database.

gform_form_validation_errors

The gform_form_validation_errors filter enables the list of validation errors, which will be displayed at the top of the form, to be overridden.

gform_form_validation_errors_markup

The gform_form_validation_errors_markup filter enables the markup for the validation errors list, which is located at the top of the form, to be overridden.

gform_format_email_to

The gform_format_email_to filter can be used to allow for formatting of the TO email address to improve spam score.

gform_freshbooks_args_pre_create

This filter can be used to modify the invoice or estimate object before it is sent to Freshbooks.

gform_freshbooks_enable_dynamic_field_mapping

This filter is used to enable the display of the option for dynamic field mapping under the ‘Line Items’ setting on the Freshbooks feed.

gform_freshbooks_send_item_id_for_fixed_dynamic

This filter is used to enable the sending of the Item ID instead of Item Name when using the Fixed Costs or Dynamic Field Mapping settings.

gform_geolocation_autocomplete_mappings_pre_populate

Allows the mapped autocomplete values to be customized before the values are added to the inputs.