File Upload enables you to attach a file to a form.

Figure 1: Screenshot highlighting File Upload obtained from sample Expenses Claim App

Figure 2: File Upload Properties

NameDescription
IDElement ID (By declaring as "receipt", a corresponding database table column "c_receipt" will be created)
LabelElement Label to be displayed to end user.

Figure 3: File Upload Properties - Advanced Options

NameDescription
Validator

Attach a Validator plugin to validate the input value.

When will validation takes place?

Validation will takes place whenever form is submitted except when it is submitted as "Save as Draft".

Maximum File Size (KB)
Maximum File Size (KB) in Integer.
Error Message (File size limit exceeded)
Error Message when file size exceeded.
File Type (.pdf;.doc)

Accepted file type extension(s). (Semicolon separated values)

Example
.pdf;.doc
Error Message (File type mismatch)
Error Message when file type mismatched.
Permission

Manage on who is able to access the file uploaded. Read more at Permission Control.

New Feature

Newly introduced in Joget Workflow v5

SizeSpecifies the width, in characters, of an <input> element.
Allowed multiple files upload?
Allows multiple files upload.
Readonly

Determines if one can upload a file.

Download as Attachment

Determines the download behavior.

Screenshots taken from http://localhost:8080/jw/web/console/app/hr_expense/1/form/builder/hr_expense_claim

 

  • No labels