Test Input Validations

The Debugger can be used to test input validations specified for individual attributes (for example, maximum/minimum values and regular expressions). To do this:

  1. Launch the Debugger.
  2. On the Interview tab, select the relevant screen in the left hand pane.
  3. In the right hand pane, enter an invalid value for the attribute.
    • Leave the input control (for example, move to another control on the screen). An error icon is displayed next to the question text for the input containing the invalid data.
    • Click Next. The screen is redisplayed with the error message below the input.

      Debugger showing error message when maximum value for attribute is exceeded
  4. Enter valid values for the attributes.
  5. Click Next. The value has been set and the interview continues on to the next screen.

Tip: To change the error icon, see Change the Display of Errors. To change the appearance of the error message, see Change the Appearance of Headings and Labels. The applicable setting is the Error label. Note that changing this setting will also change the appearance of errors that are triggered by error event rules. To change the error message text, see Specify Validations On Individual Inputs.