File Upload Setup

Add file upload capabilities to any form in minutes with automatic validation and secure storage.

What You Get

File uploads in Kitoform work automatically with any HTML form. Just add file inputs and we handle the security, validation, and storage.

✨ Automatic Features

  • File validation (size, type)
  • Virus scanning
  • Secure cloud storage
  • Image optimization
  • Download URLs
  • No configuration required

Enable File Uploads

File uploads work automatically with your existing Kitoform endpoint. Just add the required attributes to your HTML form.

Two Simple Requirements

1

Add enctype attribute

Add enctype="multipart/form-data" to your form tag

2

Add file inputs

Use standard HTML file inputs - we handle the rest

Basic Example

Here's how to add file upload to any existing form:

<!-- Contact form with file attachment -->
<form action="https://connect.kitoform.com/f/YOUR_ENDPOINT_ID" 
      method="POST" 
      enctype="multipart/form-data">
  
  <input type="text" name="name" placeholder="Your name" required>
  <input type="email" name="email" placeholder="Your email" required>
  <textarea name="message" placeholder="Your message" required></textarea>
  
  <!-- File input - that's it! -->
  <input type="file" name="attachment" accept=".pdf,.doc,.jpg,.png">
  
  <button type="submit">Send Message</button>
</form>

That's it! Files are automatically uploaded, validated, and stored securely. You'll receive the download URLs in your form submission data.

Settings (Optional)

Customize file upload behavior in your Kitoform dashboard if needed. Default settings work great for most use cases.

📁 File Types

Control which file types are allowed

  • • Images: .jpg, .png, .gif, .webp
  • • Documents: .pdf, .doc, .txt
  • • Archives: .zip, .rar
  • • Or set custom restrictions

⚙️ Size Limits

Set maximum file sizes

  • • Default: 10MB per file
  • • Maximum: 100MB per file
  • • Configurable per form
  • • Automatic validation

Next Steps