Skip to content

controls: file

Tady edited this page May 14, 2019 · 9 revisions

controls | header | text | textarea | paragraph | select | checkbox-group | radio-group | file | date | number


  • File-select field and a "Browse" button for file uploads.
Field Name Description Is required?
Label label for the field element. recommended
Class

The class attribute is used to define styles for elements in css file.Required for developers. For future use.

no

Type The type attribute specifies the type of element to display.
Currently only one option is available ("File Upload").
yes
Required

The required attribute is a boolean attribute.When present, it specifies that an input field must be filled out before submitting the form.<br>Displays a red asterisk next to the field label.

no
Help Text Displays a question mark next to the field label. When you move with your mouse cursor, the help text is displayed inside a tooltip no
Placeholder

The placeholder attribute specifies a short hint that describes the expected value of an input field (e.g. a sample value or a short description of the expected format).

The short hint is displayed in the input field before the user enters a value.

no
Name

The name attribute specifies a uniq name for the element.

This name attribute used as a reference when the data is submitted.

yes
Multiple Files If checked then this allow users to upload multiple files no
File max size The maximum file size allowed to upload. yes
File size units Maximum file size units.
Along with the value set in "File max size", sets the full value of the maximum file size allowed to upload.
Option:
- Bytes
- Killobyte(kB)
- Megabyte(MB)
yes