Field Filters

Articles

gform_product_quantity

Use this filter to change the sub-label for the Product Quantity input.

gform_product_unitprice

This filter is executed when displaying the order information grid on the entry detail page and notification emails.

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_save_field_value

Use this filter to change the field's value before saving it to the database. Use in conjunction with gform_get_input_value to perform low-level transformations, such as encrypting/decrypting a field.

gform_secure_file_download_is_https

Allows for override of SSL replacement.

gform_secure_file_download_location

By default the real location of the uploaded file will be hidden. Return FALSE to display the real location. Not recommended – use with caution!

gform_secure_file_download_url

Allows for manual filtering of the download URL to handle conditions such as unusual domain mapping and others.

gform_submission_files_pre_save_field_value

gform_submission_files_pre_save_field_value allows filtering (e.g., renaming) of the submission files before they are saved to the form uploads folder and entry.

gform_temp_file_expiration_days

This filter can be used to override the number of days before temporary file uploads are deleted.

gform_text_counter_template

The gform_text_counter_template filter allows developers to modify the text counter template string.