Each input has any one of the following types:
Text: A text value is expected for the input and a text box will be shown in the user interface where the user can enter the text as shown in Fig 1.2.
Fig 1.2: Text box to enter text.
Number: A numeric value is expected for the input. A text box will be shown in the user interface as shown in Fig 1.3.
Fig 1.3: Text box to enter number.
Date: A date is expected as an input. A popup calendar will be shown in the user interface for date selection after you click on text box as shown in the following figures:
Fig 1.4: Date of Birth text box.
Fig 1.5: Calendar to enter the date.
Boolean: A Boolean value (TRUE / FALSE) is expected as an input. A checkbox is provided for the user.
The checkbox can take one of three states – checked (True), unchecked (False), or unspecified as shown in the following figures:
Fig 1.6: Unspecified.
Fig 1.7: Checked (TRUE).
Fig 1.8: Unchecked (FALSE).
File path: A file is expected as an input to the activity. The file upload button is displayed on the user interface to upload the file as shown in Fig 1.9.
Once you click on the Upload button, file explorer will appear on the screen, you can select the file that you want to upload.
Click on View Sample Input File (highlighted in Fig 1.9) to download and check sample input file.
Fig 1.9: Upload button to upload files.
List: A drop-down list is shown after you click on text box as shown in the following figure; user can choose one of the options specified.
Fig 2.0: Drop-down list.
Table: It is used to provide tabular data as an input. Table can have dynamic number of rows (Fig 2.1) or static rows (Fig 2.2)
Fig 2.1: Table input with add and delete rows option.
Fig 2.2: Table input with default number of rows.
Inputs fields have some additional properties which define its behavior.
Fig 2.3: Required field.
Fig 2.4: Optional field.
Fig 2.5: Suggested field.
Fig 2.6: Display field.