v1.9.0 File Uploads

We are pleased to announce the release of Input v1.9! This update brings one of the most requested and essential features to our platform: file uploads. After months of development and rigorous testing, we believe this new addition will significantly enhance the functionality and versatility of your forms.

CleanShot 2024-08-15 at 17.25.41.gif

File Upload Input

We have introduced a new input type specifically for file uploads. This feature allows users to upload files directly through your forms, making data collection more comprehensive and efficient. Here are the key aspects of this new feature:

File Upload Options: You can now configure various settings for file uploads, including:

  • Maximum file size, capped at 10MB on the hosted version.
  • Allowed file types, which can be whitelisted or set to allow all file types if no restrictions are selected. Supported file types include images, audio, video, and documents.
  • Maximum number of files per upload, giving you control over how many files users can submit at once.

File Submission Process: Files are uploaded only when the form is submitted, maintaining the previous behavior where forms are submitted at the last step, similar to native HTML forms. This ensures that user consents to process files are respected, and no data is sent to the server without explicit consent.

File Encryption: Currently, different from other submission types, files are not saved encrypted on the server. This feature is not included in this release but may be considered for future updates.

Submissions View: Uploaded files are displayed as signed URLs in the submissions view. These URLs are secure and allow for file downloads. The download links automatically expire after 7 days, ensuring added security and control over access.

Webhooks: File uploads are included as links in webhook payloads. This means that if you use webhooks to process submissions, the files will be available through these links. Note that the file input payload is an array, allowing for multiple files to be uploaded per question. Ensure that file processing is completed within the 7-day expiry window.

Improvements

In addition to the new file upload feature, this release includes several security updates and bug fixes to enhance the overall performance and stability of Input.

Developer Notes

This update has been in development for the past six months. We understand the importance of file uploads as a fundamental feature for many users, and we have dedicated significant time and resources to ensure it meets our high standards. Testing has been thorough, and we are confident in the robustness of this implementation. We are proud to take this step forward and are motivated to continue enhancing Input, with our next focus being the first implementation of form logic.

As always, if you encounter any bugs or have any feedback, please reach out to me directly at philipp@getinput.co. Your input is invaluable as we continue to improve and evolve Input.

Thank you for your continued support.