DOWNLOAD FILE NAME
After submitting the form, FormCan will create a completed PDF using the form name. You can update the name on the Title dialogue. Not only can you set a fixed file name, you can also set the name pattern to create a PDF file name from the variables. For example, sample-{{index}}-{{yyyy-mm-dd}}-{{data.fid3}}
will be converted to sample-8-2018-10-11-Jobs
. This assumes that the submission date is 2018-10-11; It is the 8th submissions of this form; The field fid3 is filled with Jobs. FormCan will automatically add file extension name, i.e, .pdf or .zip.
Currently, the supported variables can be:
- {{index}}: A unique index of this form submission.
- {{yyyy-mm-dd}}: The file is created date. You can use any format you like. For example, {{mm.dd.yyyy}} or {{dd/mm/yy}}. Here
dd
is the date,mm
is the month, andyyyy
oryy
is the year. - {{data.fidXX}}: Reference the data in the form submission.
fidXX
is the ID of the field. You can find the ID of this field from the form builder. Note that the form editor has only ID numbers, you need to addfid
before the number.
Note that when Cloud Drive is enabled, FormCan will automatically add {{index}} in the file name pattern. This will prevent the created file from being overwritten due to duplicate names.