Field Filters

Articles

gform_field_choices_max_count_visible

Allows setting the maximum number of choices shown in the form editor for choice based fields (Radio Buttons, Checkbox, Image Choice, and Multiple Choice).

gform_field_container

This filter can be used to modify the markup, the li, used for the field container.

gform_field_content

This filter is executed before creating the field's content, allowing users to completely modify the way the field is rendered.

gform_field_input

The gform_field_input filter is executed before creating the field’s input tag, allowing users to modify the field’s input tag. It can also be used to create custom field types.

gform_field_size_choices

The gform_field_size_choices filter allows the choices for Field Size setting in the form editor to be customized.

gform_field_type_title

When adding a new field type, use this filter to assign a title to the new type.

gform_field_types_delete_files

Allows additional files to be deleted when file deletion occurs by adding additional field types.

gform_file_path_pre_delete_file

This filter is executed before an uploaded file (from the File Upload or Post Image fields) is deleted from the entry.

gform_file_permission

This filter is executed when uploading a file. It can be used to change the default permissions of uploaded files.

gform_file_upload_markup

The “gform_file_upload_markup” filter in Gravity Forms can be used to modify the HTML for the multi-file upload “preview”.