File Upload Fields
Articles
gform_upload_path
This filter is executed before uploading a file (by the File Upload or Post Image fields). It can be used to change the location where uploaded files are stored.
gform_temp_file_expiration_days
This filter can be used to override the number of days before temporary file uploads are deleted.
gform_secure_file_download_url
Allows for manual filtering of the download URL to handle conditions such as unusual domain mapping and others.
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_is_https
Allows for override of SSL replacement.
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_plupload_settings
This filter allows the initialization settings (file size, file count, browse button, drag and drop, and more) for Plupload to be changed.
gform_permission_granted_pre_download
This filter can be used to perform custom logic to determine if the download URL will allow access to the file.
gform_multifile_upload_field
This filter is used to filter the field object that will be associated with the uploaded file.
gform_fileupload_entry_value_file_path
Allows for the filtering of the file path before output.