Forms with File Upload
Learn how to create forms that accept file uploads including images, documents, and videos. Pro Plans support up to ~95-100 MB total file size per form submission.
File Upload Limits
Pro Plans: File uploads are available for Pro Plans. Up to ~95-100 MB total file size per form submission (including all files combined)
Basic Plans: File uploads are available temporarily for testing purposes only. This feature may be removed or restricted in future updates for Basic plans.
Supported File Types:
- Images: JPG, PNG, GIF, WebP
- Documents: PDF, DOC, DOCX, XLS, XLSX, PPT, PPTX, TXT, CSV
- Videos: MP4, MOV, AVI, WebM, MKV, WMV, FLV, 3GP
Files are automatically uploaded to secure storage and accessible through your dashboard.
Implementation
Create a form with file upload fields. Make sure to include enctype="multipart/form-data" in your form tag.
Form with File Upload
<form action="https://myformconnect.io/f/YOUR_FORM_UUID_HERE" method="POST" enctype="multipart/form-data">
<input type="text" name="name" placeholder="Your Name" required>
<input type="email" name="email" placeholder="Your Email" required>
<input type="tel" name="phone" placeholder="Phone Number">
<!-- Single file upload -->
<label for="resume">Upload Resume (PDF, DOC, DOCX)</label>
<input type="file" name="resume" id="resume" accept=".pdf,.doc,.docx">
<!-- Multiple file upload -->
<label for="documents">Upload Documents (Multiple files)</label>
<input type="file" name="documents[]" id="documents" multiple accept=".pdf,.doc,.docx,.jpg,.png">
<!-- Image upload -->
<label for="photo">Upload Photo</label>
<input type="file" name="photo" id="photo" accept="image/*">
<!-- Video upload -->
<label for="video">Upload Video (MP4, MOV)</label>
<input type="file" name="video" id="video" accept="video/*">
<button type="submit">Submit</button>
</form>
Important Notes:
- Always include
enctype="multipart/form-data"for file uploads - Use
multipleattribute to allow multiple file selection - Use
acceptattribute to restrict file types (optional but recommended) - Total file size limit: ~95-100 MB for Pro Plans (all files combined)
- Files are automatically processed and stored securely
Client-Side File Size Validation
Add client-side validation to check file sizes before submission:
File Size Validation Script
<script>
function validateFileSize(input) {
const maxSizeMB = 100; // Total limit for Pro Plans (~95-100 MB)
const maxSizeBytes = maxSizeMB * 1024 * 1024;
let totalSize = 0;
if (input.files) {
for (let i = 0; i < input.files.length; i++) {
totalSize += input.files[i].size;
}
}
if (totalSize > maxSizeBytes) {
alert(`Total file size exceeds ${maxSizeMB} MB limit. Please reduce file sizes.`);
input.value = '';
return false;
}
return true;
}
// Add to your file input
document.getElementById('documents').addEventListener('change', function() {
validateFileSize(this);
});
</script>
Accessing Uploaded Files
Once files are uploaded, you can access them through:
- Dashboard: View and download files from the Form Responses section
- Lead Activities: Files are attached to lead records for easy tracking