A Text widget allows the entry of alphanumeric information into a text entry box. The box will expand in size as more text is entered. Text boxes are the most generic data entry format. On most mobile devices, doForms will display a keyboard for entering text.
When displayed on the mobile device, the Text question widget will look similar to the following:
Adding the Text widget is as simple as using a “drag and drop” motion to place on the form canvas.
The Text question widget includes the following special properties that you can use to control the look and behavior of Text:
Caption text - Refers to the question caption as presented to the user. Think of this as the title for the question; it should be self-descriptive. We recommend no more than three words for optimal display on mobile devices.
Hint - Additional help for the question will be displayed; short clear sentences work best. Use 80 characters or less for optimal display on mobile devices. The maximum number of characters is 500, including spaces. The following HTML formatting tags are currently recognized:
Android: <br>, <i>, <b>, <u>, <font color="xxx">, <H1>, <H2>, <H3>, <H4>, <H5>, <P>, <a>, <div>;
PDF reports: <br>, <font color="xxx">.
Data name - Represents the name of the data that will be displayed in column headings. This property is automatically filled in based on the Caption Text, but may be modified in the properties area. We recommend one or two word data names to keep column headings short. The maximum number of characters is 30. Spaces are not permitted in the Data Name field.
Default value - The value of the field first presented to the user when they see the question. Unless the question is marked as “Read Only”, the mobile user will be able to change the value. This is very useful where the answer to a question is likely to repeat itself over and over. Setting a default value minimizes the work for mobile users. Note that repeating values can also be set on the mobile app using the “Remember Answer” option.
Read only - Determines whether or not this field can be edited. This is used in combination with a Default Value.
Required - Determines whether or not this field must be filled-in before continuing to the next question. On the mobile device, a form with an empty required field may be saved as “incomplete” but not as “complete” and hence cannot be sent to your website.
Hide in website – Controls whether the value generated by the widget will be displayed in the website. Allows you to store data in a field but not to display the field in the website.
Hide in mobile app – Controls whether the widget will be displayed in the mobile app. Allows you to store data in a field but not to display the field in the mobile app.
Length – Validates the character length of the user input in terms of a minimum and a maximum number of permitted characters (spaces are counted).
Number of lines – The number of lines that will be displayed in the text entry box.
Advanced - Clicking on the Advanced arrow will reveal “Relevance conditions” and “Skip conditions” properties that can be used of further control the behavior of your form using sophisticated logical statements. Please refer to http://support.doforms.com/hc/en-us/articles/200446034-Using-Relevance-Skip-Logic for more information on these properties.