Validate User Input

Validation of a policy model is done in two ways: using error and warning event rules, and by specifying validations on user input. Validation will warn or prevent the user from entering values which do not meet certain criteria when running the policy model.

You can also use a label formatted in the Alert style to show an error message that is informational only and will not prevent the user from continuing in the interview. For more information, see Use a Label to Show an Error Message.

Another way in which you can help a user understand how to enter valid data is to add a label to a screen that dynamically changes in text based on data on the same screen. For more information, see Use a Dynamic Label to Help the User Enter Valid Data.

Note: For Intelligent Advisor attributes that are input-mapped, any input validation is applied on pre-seeding (as well as for data entered by the user) and therefore the pre-seed will fail if some data in the connected application fails the validation.