View Categories

File Rename Template

The File Rename Template lets you set the file name and folder structure for the file upload field. It is available under the General settings of the File Upload field.

If you want to set the folder for uploads, then add the folder name and end it with a forward slash ( / )

Example:
media/{form_id}/: This path will upload the files to media/form_id folder. It won’t rename the actual upload file name.

If you also want to rename the file, then add it at the end of the File Rename Template without a forward slash.

Example:
media/{form_id}/document: This path will upload the files to the media/form_id folder and also rename the file to document.

It will automatically take the extension of the uploaded file. So if the user uploads a PDF file, then the final name would be document.pdf, and if it’s a PNG image, then it will be document.png.

File Rename Template