Administrator Guide

326 | Configuration Dell Networking W-ClearPass Guest 6.6 | User Guide
The reason for this is that in this case, the validation has failed due to a type error the field is specified to
have an integer type, and a blank or non-numeric value cannot be converted to an integer. To set the error
message to display in this case, use the Type Error option in the Advanced Properties area.
Example 2 Small Number of String Values
To create a form field that accepts one of a small number of string values, use the following settings in the form
field editor:
Figure 241 Form Field Editor, Form Validation Properties Area, Example Array Values
This example could be used for a string field named visitor_department. Because the values are known in
advance, a drop-down list is the most suitable user interface. An initial value for the form field, as shown above,
could be used if most visitors are in fact there to visit the sales team.
To match against a list of options used for a drop-down list or set of radio buttons, you can use the
IsInOptionsList validator.