Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
English
Panel
borderColorpurple
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew Feature

This feature is enhanced in Joget DX to support image resizing options

Table of Contents

Introduction

...

The easiest way to see how the File Upload works are to use the existing built-in App Expenses Claims. Here are the steps:

  1. Start the Joget Server   and open the  App Center.

  2. Log in as  admin   and click on the pencil icon on the   Expenses Claim   to open the  Design App . Composer (see Figure 1).
    Image Removed
    Image Added
    Figure 1

  3. Click on Expense Claim Form  and you will be directed to the Form Builder. 

  4. Hover the mouse over theFile Upload element on the canvas entitled Attachments (i.e. Receipts, tickets etc.) and click onEdit it to open up the Edit Configure File Upload properties . (see Figure 2).


    Figure 2

  5. Remember to click Apply Change and Save the changes. 
  6. To see it working, head back to the Design App Composer and click the Launch button in theUserview  button in the UI column.
  7. Click onCreate a New Expense Claim button on theDashboard, fill up the necessary details and click  Continue Next Screen
  8. Here you will find the file upload. Click inside the box to upload or drag and drop files inside the box.

File Upload Properties

Edit File Upload

Image RemovedImage Added

NameDescription
LabelElement Label to be displayed to the end-user.
ID

Element ID (By declaring as "receipt", a corresponding database table column "c_receipt" will be created)

Please see Form Element for more information about defining the ID and list of reserved IDs.

...

NameDescription
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.

Related Tutorials