The File Uploader Widget allows users to upload files. It is possible to choose more than to upload more than one file depending on the widget settings. When placed in a form, the file(s) uploaded by the end user is/are saved individually with each unique iteration/copy of the form.
To add a new File Uploader to your page, simply drag and drop the “File Uploader” widget from the left-hand side of the page screen to the design area of your page. The File Uploader widget can only be placed inside of a Form widget, otherwise, there is an error message.
It allows users to upload file(s).
For example, we create an File Uploader, click on the Upload Button to select file(s) from the local storage or we can drag and drop the file(s) on the file uploader to upload.
The runtime display are shown below:
1
2
3
4
Runtime (Web View)
It allows users to download the uploaded file(s).
For example, on a File Uploader with uploaded file(s), click on Download Button to select a file to download (See Appendix for Fast Keys) .
The runtime display are shown below:
Runtime (Web View)
Information !
When users click the Download Button without selecting any specific file from the file uploader, all files will be grouped into a ZIP file. This ZIP file will be downloaded to the user's local storage after confirmation, containing all the files from the file uploader.
Runtime (Web View)
Runtime (External)
It enables users to delete the uploaded file(s).
For example, on a File Uploader with uploaded file(s), select an uploaded file then click on the Delete Button to delete the selected file (See Appendix for Fast Keys).
The runtime display are shown below:
Runtime (Web View)
Drag a File Uploader into the Form
Click the File Uploader and then click the setting button to open Widget Property Settings.
3. The Widget Property Settings is shown, which contains three tabs, General, Visibility, and Function. We will demonstrate how each tab and property is used.
The tab General has four subheaders, “Basic”, “Configurations”, “Style” and “Position, Size and Layout”.
The fields in “Basic” are Name, Display Name, and Description. If you leave the display name field blank when setting up your widget, the name field will automatically become the Display Name. If you fill in both fields, the system will use the Name field as an internal reference (like in page builder), while showing the display name to your users in Production.
It requires the user to take photo(s) or take video(s) as the way to upload the file(s).
For example, we create a File Uploader, look through the Upload From App Camera Only property under Configurations in the Widget Property Settings.
Users may enable the “Upload From App Camera Only”, which only allows the user to upload photo(s) or video(s) taken from the app camera.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Mobile View)
It enables the user to sort the uploaded files.
For example, we create a File Uploader, look through the Sort By property under Configurations in the Widget Property Settings.
The default setting is “No Sorting”.
Users may open the dropdown list, which allows the user to sort the uploaded files by file name in either ascending or descending order, and by file size in ascending or descending order.
The design time and the runtime display are shown below:
Design Time (Web View)
Design Time - ”Sort By” Dropdown List (Web View)
User can also click on Sort By Button from the runtime display widget of File Uploader to enable sorting:
Runtime (Web View)
It disables the user to upload multiple files simultaneously.
For example, we create a File Uploader, look through the Disabled Multiple Uploads property under Configurations in the Widget Property Settings.
Users may enable the “Disabled Multiple Uploads”, which only allows the user to upload one file at a time.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Web View)
Runtime (Web View)
It restricts the maximum number of files that a user can upload.
For example, we create a File Uploader, look through the No. of File(s) property under Configurations in the Widget Property Settings.
Users may activate the “Max. of {} files” option and specify their preferred maximum number of uploads instead of the default setting of “No Limit”.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Web View)
It restricts the maximum size(in MB) of a file that a user can upload.
For example, we create a File Uploader, look through the FIle Size Per File property under Configurations in the Widget Property Settings.
The “Default” setting allows uploads of up to 50 MB per file.
Users may enable the “Max. of {} MB” property and set their desired maximum upload size (in MB) between 1 and 50 MB.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Web View)
It restricts the maximum total size(in MB) of files that a user can upload.
For example, we create a File Uploader, look through the Total File Size property under Configurations in the Widget Property Settings.
Users may change the setting from the default ”No Limit” to the “Max. of {} MB” property and set their desired maximum total upload size.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Web View)
Information !
The maximum total file size cannot be set to less than the maximum file size per file. If a user tries to do this, the system will automatically adjust the maximum total file size to match the maximum file size per file set.
The fields of Style are Show Label, Label Style, and Value Style.
By default, Show Label is checked. If it is not checked, the left side of the widget that shows the widget name is removed and the field of the widget fills the entire widget area.
Label Style and Value Style both have the same Size option.
Label Style has two more fields: Alignment, and Width, which are in units of pixels (px) and accepts a numerical value. In Alignment, you can choose to inherit the previous alignment or choose your own alignment (left, centre, right).
The options for Sizing Mode are Absolute Size, Relative Size and Auto-height .In Absolute Size, the dimensions of the widget are the same in the Page Builder and Production. In Relative Size, the right and bottom sides of the widget expand to completely fill the screen/window in Production.
In Position, various parameters of the widget can be adjusted. These parameters change depending on what is selected in Sizing Mode.
The options of “Display in” are “Web & Mobile” (the default setting) and “Mobile Only”. It controls whether this label would be displayed on both platforms.
It restricts the users’ ability to modify a file uploader, including uploading and deleting file(s), while it does not affect their ability to download uploaded file(s) from the file uploader.
For example, on a File Uploader with uploaded file(s), look through the Looks Read-Only property under Visibility in the Widget Property Settings.
Users may enable the “Looks Read-Only”, which only allows the user to download file(s) from the file uploader. The Upload Button and the Delete Button of the file uploader would be disabled.
The design time and the runtime display are shown below:
Design Time (Web View)
Runtime (Web View)
The first column lists all the available Run Time User Roles. In the second column, you can enable or disable the Add Only Function for each user role. If you need further guidance, simply click the question mark icon located in the top right corner of this tab to open a helpful tooltip explaining its functionality.
File Uploader supports several fast keys for file(s) selection.
Mouse Left Click Only
Select the file item
Unselect other previous selected files item(s)
Unselect the selected file item
Mouse Left Double Click
Preview image and PDF
Ctrl/Command
+Mouse Left Click
Select multiple file items
Mouse Left Click
Shift+Mouse Left Click
Select the file(s) in between the two selected files
Mouse Left Click
Ctrl/Command+A
Select all the file(s) in the file uploader