Articles

gform_input_masks

Use this filter to edit the list of built-in input masks that are displayed in the Text Field input mask setting.

gform_field_validation

Use this filter to create custom validation logic for a field.

gform_input_mask_script

Note: This filter hook was deprecated in version 2.9.29 and removed in version 3.0. To add a new input mask, register it using gform_input_masks.

gform_get_input_value

The gform_get_input_value filter allows developers to change the field’s value after being retrieved from the database. Use in conjunction with gform_save_field_value to perform low-level transformations, such as encrypting/decrypting a field.

gform_init_scripts_footer

This filter is executed during form load. When set to true, the form init scripts are loaded in the footer of the site, instead of the default location of which is in the page body immediately after the form.

gform_import_form_xml_options

Use the gform_import_form_xml_options filter to modify the settings used to import a form from an XML export file.

gform_get_meta()

The gform_get_meta function retrieves the meta value of the specified meta key from the Entry Meta table.

gform_format_option_label

This filter is executed when calculating and displaying the pricing on several product option fields or shipping fields

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_settings_page_{VIEW}

Adds custom pages (i.e. “views”) to the Form Settings section.