Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
Panel
borderColorgreen
borderWidth1
titleBGColor#ddffcc
borderStylesolid
titleDefinition

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

borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This feature is enhanced in Joget Workflow v6 to support drag and drop file upload.DX to support image resizing options

Table of Contents

Introduction

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


Get Started




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

Image Removed

...


File Upload Properties

Edit File Upload

...


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

...

...



Advanced Options

Data

NameDescriptionScreen (Click to view)
Validator

Attach a Validator plugin to validate the input value.

Info
titleWhen will validation takes place?

Validation will

takes

take place whenever a form is submitted except when it is submitted as "Save as Draft".







Maximum File Size (KB)
Maximum File Size (KB) in Integer. For example, if the maximum allowable file size is 10 megabytes, enter into this field the value of "10240" which represent 10,240 kilobytes.
Error Message (File size limit exceeded)
Error Message when file size exceeded.
File Type (.pdf;.doc)

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

Code Block
titleExample
.pdf;.doc
Error Message (File type mismatch)
Error Message when file type mismatched.
Delete actual file during overwrite or remove?

Actual file will be deleted when the file is removed or being overwritten.


Image Resize

Name

DescriptionScreen (Click to view)
Maximum Width (px)set the maximum width of the image
Maximum Height (px)set the maximum height of the image
Quality (Max 1.0)
Methodinfo

Permission

titleNewly introduced in Joget Workflow v6
NameNew FeatureDescriptionScreen (Click to view)
Permission

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


UI

NameDescriptionScreen (Click to view)
SizeSpecifies the width, in characters, of an <input> element.
Allowed multiple files upload?
When checked, multiple files can be uploaded.
Readonly

Determines if one can upload a file.

Drop zone padding

Determine the extra size of padding for the larger drop zone.

Info
titleExample

50px

Info
titleExample

5%

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

 

 

...