Skip to main content

Uploader

The "Uploader" widget is an interactive UI that allows users to upload files/documents to your App.

Example

A8Studio

Using the File Uploader

Users can upload their files by either the "drag-n-drop" method or by "choosing" the files via the file-browser.

To use the file-browser:

  • Click the "Uploader".
  • Choose your file. (On the file browser that opens.)
  • Click "Open n Submit". (A preview image of the file/files will be displayed.)

[Note: To be able to upload multiple files the "multi-select" property must be checked.]

When is it used?

Used for loan application forms, account opening forms, or other similar forms where the users have to upload documents for user validation/verification processes.

In A8Studio

A8Studio

Properties

PropertyDescription
IDA random alpha-numeric code that's used as a reference ID. It is auto-generated by default; however, you can edit it to your need.
A8Studio
BindMapping between different Forms is done using the “Bind” name. To link the Data collected through a form/component, choose the Bind name of the specific form/component as the Bind name of your current form/component, which should link their Data together.
A8Studio

API Methods

setSize

Sets the size of the widget based on the passed parameters. You can choose between the Small, Medium, and Large pre-set scales.

setSize(size: "small" | "medium" | "large"): void

setVisibility

A8Studio

Sets if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

A8Studio

Sets the hide condition

setVisibilityCondition(condition: string): void

setLabel

A8Studio

Sets the label of the field.

setLabel(label: string): void

setMultiple

A8Studio

Sets the selection mode to be multiple which allows the user to select multiple files.

setMultiple(multiple: boolean): void

setRequired

A8Studio

Sets a field to be required or not.

setRequired(required: boolean): void

setReadOnly

A8Studio

Sets the ReadOnly flag for this context.

setReadOnly(readOnly: boolean): void