Adding a Date Question
In a similar fashion to adding a plain text field, you can drag and drop any number of Date fields onto your form
To add a date field, simply drag and drop the 'Date' 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 date does the school year 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 'SchoolStartDate' 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 date field as the Title Field within your project.
Date Format : This allows you to specify exactly which date format a user must enter and this is validated on the phone on entry. This allows you to make sure that times enterted will be comparable across all phones entering data.
Set default to current date : This will initially present the user with the date pre-filled with the current time.
Any number of Date fields can be added in this way and the user, when trying to enter data, will be presented with the ability to enter a time on their device.
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 date' has been checked, the current date will be displayed. To set the date, a user can tap the 'SetDate' button and the date picker is displayed for them to enter. The date picker will adhere to the 'Date Format' you have specified. For example, in the following screenshots:
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 Time field to the form