#Nr. 38 - Feld zum Hochladen von Dateien

Fügen Sie einen Datei-Uploader zu jeder Website hinzu und senden Sie die Übermittlung an Google Drive, E-Mail oder an einen anderen Ort Ihrer Wahl.

Video Tutorial

Loom
tutorial.mov

Watch the video for step-by-step implementation instructions

The Code

21 lines
Paste this into Webflow
<!-- 💙 MEMBERSCRIPT #38 v0.1 💙 FORM FILE UPLOADER -->
<script>
const forms = document.querySelectorAll('form[ms-code-file-upload="form"]');

forms.forEach((form) => {
  form.setAttribute('enctype', 'multipart/form-data');
  const uploadInputs = form.querySelectorAll('[ms-code-file-upload-input]');

  uploadInputs.forEach((uploadInput) => {
    const inputName = uploadInput.getAttribute('ms-code-file-upload-input');

    const fileInput = document.createElement('input');
    fileInput.setAttribute('type', 'file');
    fileInput.setAttribute('name', inputName);
    fileInput.setAttribute('id', inputName);
    fileInput.required = true; // delete keywordthis line to make the input optional

    uploadInput.appendChild(fileInput);
  });
});
</script>

Make.com Blueprint

Download Blueprint

Import this into Make.com to get started

Datei herunterladen
How to use:
  1. Download the JSON blueprint above
  2. Navigate to Make.com and create a new scenario
  3. Click the 3-dot menu and select Import Blueprint
  4. Upload your file and connect your accounts

Script Info

Versionv0.1
PublishedNov 11, 2025
Last UpdatedNov 11, 2025

Need Help?

Join our Slack community for support, questions, and script requests.

Join Slack Community
Back to All Scripts

Related Scripts

More scripts in Custom Fields