Adding a Time Question
In a similar fashion to adding a plain text field, you can drag and drop any number of Time fields onto your form.
To add a time field, simply drag and drop the 'Time' field from the left hand side of the form builder (pink) to the middle 'Form' section (green) and release your mouse button.
You will immediately see that the 'Field Properties' section (blue) of the form builder now contains a number of options for you to define as in the following screenshot:
The most important properties to define are the 'Label' and 'ID'
Label - The Label should contain the Question you would like a user to answer - For our demo project, we first enter the text 'What time does the school day start?'
ID - The ID can be viewed as the column heading under which users answers will be stored in the database. For our ID we have entered 'SchoolStartTime' The ID should contain no spaces and be a convenient short hand name for the variable you wish to collect.
Required: Checking this means that a user MUST enter data into this field before continuing.
Title: You can set a time field as the Title field within your form.
Time Format : This allows you to specify exactly which time format a user must enter and this is validated on the handset on entry. This allows you to make sure that dates enterted will be comparable across all phones entering data.
Set default to current time : This will initially present the user with the time pre-filled with the current time.
Any number of Time questions can be added in this way.
Advanced Field Properties
When the project is loaded onto a handset, the user is presented with a simple text box within which to enter their data (if 'set default to current time has been checked, the current time will be displayed. To set the time, a user can tap the 'Set Time' button and the date picker is displayed for them to enter. The time picker will adhere to the Time Format' you have specified.
Again, if this field is required, the user will not be able to progress in a form without entering a value.
We will now move on to add a Drop-Down list to the form