Editing the form to receive data directly from user inputs
Procedure
- Name the other two widgets to be Request Reason and Request Date respectively.
- Click Create a new variable to open a new page and define a new variable in the form designer to receive data from user inputs.
- Enter requestReason in the Name field.
- Select String from the Type list.
- Click Save to save your changes.
- On the right panel, in the Value field of the Request Reason INPUT, enter requestReason.value.
- Remove the original Request Date INPUT, then drag a new DATE PICKER widget and drop it in the central design area.
- Follow the similar procedure to create a new variable requestDate of String type, and edit the Value field for the Request Date DATE PICKER to be requestDate.value.