PROCESIO
OverviewPlatform ActionsIntegrations & DemosMarketplaceCustom ActionsDeveloperโ€™s Guide

File Upload

The File Upload element lets people attach one or more files to a form, by drag and drop or with a file picker.

The File Upload element enables users to attach one or more files directly within a form. It is deeply integrated with Procesio's file handling capabilities, meaning uploaded files flow naturally into process variables and can be processed, stored, or forwarded by downstream actions in the workflow.

You have full control over what users can upload: specify allowed file extensions (allowedfiletypes), enforce a maximum file size (maxfilesize), and optionally allow multiple files in a single upload field (allowmultiplefilesupload). The current file or files are accessible at runtime via the value attribute, enabling you to inspect, validate, or respond to uploads from event-driven logic.

Adding files

The person filling the form can add files in two ways:

  • drag files from their computer and drop them on the upload area, or
  • click Select file and pick the files.

With Allow multiple files upload on, they can add several files to the same field. You can attach the same file more than once in a form.

File size and type checks

Max file size is in megabytes (500 by default) and applies to each file. Allowed file types lists the extensions people may upload; with no type selected, any file is allowed. The form checks both when it is submitted. If a file breaks a rule, a message shows under the field and nothing is sent:

  • "File size should be less than N MB" (or "Some file sizes should be less than N MB" for several files)
  • "File extension is not allowed." (or "Some file extensions are not allowed.")

What the form submits

A field that takes one file submits that file. A field with Allow multiple files upload on submits a list of files.

Key Use Cases

โ€ขย ย ย ย ย ย ย  Document upload for onboarding, contracts, or compliance forms

โ€ขย ย ย ย ย ย ย  Restricting uploads to specific types (e.g., PDF only, or images: jpg, png)

โ€ขย ย ย ย ย ย ย  Enforcing file size limits to prevent oversized uploads at the form level

โ€ขย ย ย ย ย ย ย  Collecting multiple supporting documents in a single upload field

โ€ขย ย ย ย ย ย ย  Reading the uploaded file reference at runtime to pass it to a process action

Runtime API โ€” Attributes in Procesio Forms

All attributes below are accessible and modifiable at runtime via the element's data model in Procesio Forms โ€” on any available event such as onLoad, onChange, or custom triggers.

API NameDescriptionTypeDefaultNotes
labelDisplay label for the upload fieldstringโ€”โ€”
tooltipHelp text shown alongside the labelstringโ€”โ€”
descriptionDescriptive text displayed near the upload areastringโ€”โ€”
infotextSupplementary info displayed below the elementstringโ€”โ€”
valueCurrent uploaded file(s) โ€” accessible at runtimefile|file[]|nullโ€”โ€”
readonlyView-only โ€” user cannot upload new filesbooleanfalseโ€”
disabledFully non-interactivebooleanfalseโ€”
visibleControls element visibilitybooleantrueโ€”
allowmultiplefilesuploadAllows uploading more than one filebooleanfalseโ€”
nameUnique element namestringโ€”โ€”
idUnique element IDstringโ€”โ€”
requiredA file must be uploaded to submit the formbooleanfalseโ€”
maxfilesizeMaximum allowed file sizenumber|null500 MBโ€”
allowedfiletypesList of permitted file extensionsstring[]alle.g. ['pdf','docx']

For support, please join our Discord community for further assistance and support.

On this page