Webflow Forms

Uploading Files with Uploadcare

No items found.
Overview
Webflow Forms Basics
Intro
001
Webflow Forms Limitations & Bugs
002
Basic Form Controls
Form Select
051
Form Textarea
052
Customizing Input Controls
Customizing Radio Buttons & Checkboxes
Intro
101
Input Number & Decimal Places
Intro
102
Numeric Range Sliders
Intro
102
Multi-Select Dropdown
Intro
104
Auto-Size Textareas
Int
110
Date Pickers
Intro
111
Forms Validation
Forms Validation Basics
Intro
200
Input Types
Intro
201
Using Regex Patterns in Forms Validation
Intro
202
Validating Phone Numbers
Intro
202
Custom Validation Errors
Adv
203
Forms Validation Techniques
Validating Emails
Intro
301
Blocking Free Email Provider Addresses
Intro
302
Requiring Checkboxes
Intro
302
International Phone Numbers
Int
6:50
304
Databinding
Databinding CMS Collections to a Form Select
8:42
401
Forms Validation Techniques
3rd Party Form Handlers
Intro
401
Making Forms Dynamic
Displaying Form Parts Conditionally
14:36
501
Multi-Step Forms (MSFs)
Intro
501
SPAM Blocking Techniques
Minimizing Form Submission SPAM
600
SPAM Blocking Techniques
CAPTCHA Approaches
601
Form Handlers
3rd Party Form Handlers
901
Integrating the Basin Form Handler
902
Uploading Files
Uploading Files
950
Uploading Files with Uploadcare
951
Uploading Files with Basin
952
No items found.

Uploadcare provides a specialized service for handling file uploads, and it integrates well with Webflow forms.

Key features;

  • Supports multiple file uploads
  • Has a generous free plan
  • The "group" URL for the file set will be added to the email
    • You can also configure it to send individual file URLs

Adding Uploadcare to a Form

  1. Create an account on the Uploadcare site.
  2. Add this block of code in an Embed inside of your form element.
  3. Make certain to replace YOUR_PUBLIC_ KEY with your own key from your account.

Code;

<lr-config
  ctx-name="uploader"
  pubkey="YOUR_PUBLIC_KEY"
  group-output
></lr-config>
<lr-file-uploader-regular
  css-src="https://cdn.jsdelivr.net/npm/@uploadcare/[email protected]/web/lr-file-uploader-regular.min.css"
  ctx-name="uploader"
>
  <lr-form-input ctx-name="uploader"></lr-form-input>
</lr-file-uploader-regular>
<script type="module">
  import * as LR from "https://cdn.jsdelivr.net/npm/@uploadcare/[email protected]/web/lr-file-uploader-regular.min.js";
  LR.registerBlocks(LR);
</script>

Email Notifications

The uploader will add a hidden input element that will be populated with a CDN URL of a group of uploaded files. Once the form is submitted, the URL will be attached to the form data and sent to your form handler along with other fields. If you want to send each file URL as a separate field, just remove the group-output attribute from lr-config.

Files as Email Attachments

This can also be achieved using a 3rd party automation service like Zapier or Make.

Here's a template for Zapier: https://zapier.com/apps/email/integrations/webflow/7041/send-emails-for-new-webflow-form-submissions.

Notes

Pricing

Uploadcare has a generous free plan, however it has a steep first step in its pricing model once you leave the free plan. Make certain to budget accordingly.

https://uploadcare.com/docs/integrations/webflow/

Table of Contents
Did we just make your life better?
Passion drives our long hours and late nights supporting the Webflow community. Click the button to show your love.