Hooks
Actions
Learn about the different action hooks available within Gravity Forms. Action hooks allow you to perform additional actions when an event takes place.
Filters
Discover the different filter hooks available within Gravity Forms. You can use filters to modify data to better match your particular needs.
JavaScript
Find explanations of the various JavaScript hooks used by Gravity Forms and its add-ons.
Deprecated
Here you will find a listing of the action hooks in Gravity Forms which have been deprecated.
Articles
gform_field_validation
Use this filter to create custom validation logic for a field.
gform_field_value_$parameter_name
This filter is executed before displaying each field and can be used to dynamically populate fields with a default value.
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”.
gform_file_upload_status_markup
JavaScript filter allowing the file upload markup to be filtered as it is being uploaded.
gform_file_upload_tmp_dir
The gform_file_upload_tmp_dir filter allows developers to change the temporary directory used for file uploads.
gform_file_upload_whitelisting_disabled
This filter allows the disabling of file upload whitelisting. This filter applies to all forms.
gform_fileupload_entry_value_file_path
Allows for the filtering of the file path before output.
gform_filter_links_entry_list
This filter allows the list of filters at the top of the Entry List page to be modified.