Adding File Upload Fields
File upload fields let respondents attach documents, images, and other files to their form submissions. This guide covers how to add, configure, and manage file uploads in WittyForm.
Adding a File Upload Field
To add a file upload field to your form:
- Open the form editor and look for File Upload in the field panel under the Advanced category.
- Click it or drag it onto the canvas where you want it to appear.
- Click the field to select it and configure its settings in the right panel.
The file upload field displays a drag-and-drop zone where respondents can drop files or click to browse their device.
Configuring Accepted File Types
Control which types of files respondents can upload. In the field settings, you can specify accepted file types:
- Images: JPG, PNG, GIF, WebP, SVG.
- Documents: PDF, DOC, DOCX, TXT, RTF.
- Spreadsheets: XLS, XLSX, CSV.
- Presentations: PPT, PPTX.
- Archives: ZIP, RAR.
- Custom: Enter specific file extensions for specialized use cases.
If a respondent tries to upload a file type that is not accepted, they will see a clear error message explaining which file types are allowed.
Maximum File Size
Set a maximum file size to prevent excessively large uploads. The default limit is 10 MB per file. You can adjust this up to your plan's limit:
- Free plan: Up to 5 MB per file, 100 MB total storage.
- Pro plan: Up to 25 MB per file, 1 GB total storage.
- Enterprise plan: Up to 100 MB per file, 2 GB total storage.
Respondents will see the size limit displayed in the upload zone and will receive an error if their file exceeds it.
Maximum Number of Files
By default, a file upload field accepts a single file. To allow multiple uploads, enable the Allow multiple files toggle in the field settings and set the maximum number of files. You can allow up to 20 files per field.
When multiple files are enabled, respondents see a list of their uploaded files with the ability to remove individual files before submitting.
Storage
All uploaded files are stored securely in WittyForm's cloud storage. Each file is:
- Transferred over encrypted connections (TLS 1.3).
- Associated with the specific form response that uploaded it.
- Accessible only to workspace members with appropriate permissions.
Your storage usage counts toward your plan's storage quota. You can view your current storage usage in Settings > Billing.
Viewing Uploaded Files
Uploaded files are accessible from the response detail view. When you open a response that includes file uploads:
- Image files display a thumbnail preview directly in the response.
- Document and other file types show the filename with a download button.
- Click any file to download it or open it in a new tab.
When exporting responses, file uploads are included as download URLs in the export file.
Security Considerations
WittyForm takes file upload security seriously to protect both you and your respondents:
- Virus scanning: All uploaded files are scanned for malware before being stored.
- File type validation: Files are validated by their actual content type, not just the file extension, to prevent spoofing.
- Secure URLs: File download links are signed and time-limited, so they cannot be shared publicly.
- Access control: Only authenticated workspace members can view and download uploaded files.
Best Practices
- Always specify accepted file types to avoid receiving unexpected formats.
- Set reasonable size limits to keep submission times fast for respondents.
- Add a description to the field explaining what respondents should upload (e.g., "Please upload a PDF of your resume").
- If you need images specifically, restrict the accepted types to image formats only.
- Mark the field as required if the file is essential to the submission.