Adding a Validator to a Control
Use the following procedure to add a validator to an input control.
To add a validator to a control
1. Open a CAF view in the design canvas and locate the input control that you want to modify.
2. In the Palette view, expand the CAF Core > Validator node and select a validator.
3. Drag the validator to the design canvas and drop it onto the control.
If the
overlay is visible on the cursor, you cannot drop the validator.
4. To update properties for the validator:
a. In the design canvas, select the control with the validator.
b. In the Properties view, click the Validation tab.
c. Specify new property values as needed.