Question Type: Text Field
The Text Field is one of the most common question types, and the most flexible in what it can collect. You can use it to collect contact information for a person who does not yet exist in your backoffice system, for a customer's email address (so that you can email them a copy of the form submission later), numeric quantities, or numeric readings about an asset.
If you're looking for something to hold larger blocks of text, use the Text Area question type.
An example of a Text Field on an iOS device is shown below:
In the Form Builder, the Text Field question appears as shown below:
The Question Edit screen for the Text Field has three tabs: General, Properties, and Help Options Help Options are ways to add help content, such as YouTube videos, web pages, text, or images, to questions in a form. Mobile users simply tap the help icon next to a question to see the help that the form designer provided.. This article will go through each of the tabs.
The Unique ID A Unique ID refers to the specific identifier of a question, form page, form section, or Data Destination. Unique IDs are used as reference points when pulling data for conditional logic, Analytics projects, Data Destinations, and Documents. is the reference for the question. For more information on Unique IDs, read: Overview: Unique IDs. It can either be auto-generated based on the question text, or customized.
Data Types are the kind of information your mobile users will be putting into these questions. Setting a data type forces users to enter the kind of information you want in the correct format. This also ensures that the entered data can be used elsewhere in your business process, whether that's by other questions in the form, or in a data destination.
The Text Field supports the following data types:
|Free Text||URL||Phone Number||Integer||Decimal||Currency|
Restrictions control how your mobile users interact with a question. They can be set on the question itself, or controlled by Conditional Logic.
|Required||Read-Only||Hidden on Device||Hidden in Reports|
Properties allow you to set up your question in various ways. The Question Properties enable you to apply a validation rule and a default value. You can also apply the Router The Router Setup property provides a way to divide long strings of data into smaller substrings. You can then use those substrings to populate other questions. Setup property to parse and route data to other subsequent questions.
Question Properties change depending on the data type chosen.
|Free Text||Email/URL/Phone Number||Integer/Decimal/Currency|
The Router Setup property is a question property available for Text Field, Text Area, File Upload, and Barcode Scanner question types. You can use the Router Setup to parse (subdivide) long strings of data captured by a question—such as from a barcode scan—into smaller substrings. You can then push the substrings to subsequent questions in your form.
Adding "Help" content to forms gives mobile users access to support and other resources out in the field. Help content is available to users through a button embedded beside a question. Any question in the form can include a link to YouTube videos, web pages, or work instructions.
For more information on Help Content, please read: Add Help Options to Questions