Adding a Plain Text Question
To add a text field, simply drag and drop the 'Text' 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 (right hand side-blue) of the form builder now contains a number of options that can be defined 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 is the schools name?'
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 'SchoolID' 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 - A title field can be set on any text field within a form. The title field will be displayed when listing entries on the mobile devices, and should be chosen as a convenient , simple way of referring to ezach entry of a form. For our demo project we also set the SchoolName as the title. This means that when listing all the schools on the mobile device, the school name will be displayed and we will conveniently be able to refer to entries we have stored. In practice, you can set more than one title field within a form, and the fields you choose will be concatenated for display in the list entries section on the mobile device.
Any number of text fields can be added in this way, however, within any single form, you must define a Key Field (as previously), which will act as a unique identifier and also a Title Field, which is displayed when listing entries on the mobile 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 as follows:
Because we have specified that the field is 'required' should they try to progress in the form without entering data they will be warned as follows:
We will now move on to add a Numeric field to the form