File Upload
2 min
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 name description type default notes label display label for the upload field string β β tooltip help text shown alongside the label string β β description descriptive text displayed near the upload area string β β infotext supplementary info displayed below the element string β β value current uploaded file(s) β accessible at runtime file|file\[]|null β β readonly view only β user cannot upload new files boolean false β disabled fully non interactive boolean false β visible controls element visibility boolean true β allowmultiplefilesupload allows uploading more than one file boolean false β name unique element name string β β id unique element id string β β required a file must be uploaded to submit the form boolean false β maxfilesize maximum allowed file size number|null 500 mb β allowedfiletypes list of permitted file extensions string\[] all e g \['pdf','docx'] for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
