|
To add a list, click the "Add Text Type" link in the Utility Bar. The following details each field:
| 1. |
Name |
|
This is the name that will appear in the listing of Text Types when a form manager is adding or updated
a Text - Single Line question.
|
| 2. |
Enabled |
|
If the text type is disabled, it will not appear as a choice for form managers when adding or updating
Text - Single Line questions.
|
| 3. |
Must Match |
|
This field accepts regular expressions, one per line, which will be checked when the user submits the form.
If the user's answer does not match at least one of the regular expressions, the value
of the Error Message field will be shown to them.
|
| 4. |
Cannot Match |
|
This field accepts regular expressions, one per line, which will be checked when the user submits the form.
If the user's answer any of the provided regular expressions, the value
of the Error Message field will be shown to them.
|
| 5. |
Match All |
|
If enabled, the user input will have to match each individual regular expression. In the case of Must Match
expressions, all must be matched for the input to be valid. In the case of Cannot Match expressions, all must
be matched for the input to be invalid. If the option is not enabled, only one expression must be matched for the input to be
be valid or invalid.
|
| 6. |
Label |
|
This will appear above the text field and can be used to provide users with additional information regarding
the required format of the field. For example, if you have a regular expression for matching phone numbers, you can
include a label that reads "nnn-nnnn".
|
| 7. |
Error Message |
|
By default, a standard error message will be provide when the input does not match the required input. If you would
like to provide a custom error message, you can do so using this field.
|
|