PROCESIO
OverviewPlatform ActionsIntegrations & DemosCustom ActionsDeveloperโ€™s Guide

File Upload

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โ€ฆ

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.

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