The File component lets users attach files, such as receipts, photos or supporting documents, to a submission. Uploaded files are stored on the GlobalForms server.
Add a file upload
-
Drag a File component onto the form.
-
Leave Storage set to Url and Upload Url set to
/api/files. This stores files on the GlobalForms server and works after the form is exported and imported to another server. -
Optionally set File Pattern, File Minimum Size and File Maximum Size.
-
To allow several files, select Multiple Values.
-
Save the component.
Settings
|
Setting (Display tab) |
What it does |
|---|---|
|
Storage |
Where files are stored. Use Url. The other choices (Base64, Dropbox, S3) aren't used with GlobalForms. |
|
Upload Url |
|
|
Directory |
A subfolder to keep this component's files in. It can include placeholders, for example |
|
Display as images |
Shows uploaded images as pictures instead of file names |
|
File Pattern |
Which file types are allowed (see below) |
|
File Minimum Size, File Maximum Size |
Size limits, for example |
|
Multiple Values |
Allows more than one file |
Restrict file types
Enter a comma-separated list of extensions in File Pattern, with no spaces. For example:
|
Allow |
File Pattern |
|---|---|
|
PDFs and images only |
|
|
Anything except ZIP files |
|
The server also enforces its own list of allowed file types and size limits for every form. See File Upload Restrictions.
Files and GlobalCapture
When a submission is sent to GlobalCapture, uploaded files can be added to the document. GlobalCapture can merge these types as pages:
.pdf,.tif,.tiff,.jpg,.jpeg,.pcx,.png,.bmp,.gif,.doc,.docx,.rtf,.xls,.xlsx,.txt,.csv
Other file types are still saved with the submission. See GlobalCapture Workflow Action.