Using Validators
Validators provide a way to ensure that users enter correct values. You can apply validators only to input controls. The CAF Core > Validator portion of the Palette view contains both standard JSF validators and those developed by Software AG. Some validators, such as the Credit Card Validator, have properties that you can modify on the Properties view. For more information about the available validators, see the webMethods CAF Tag Library Reference.
To add a validator to the design canvas
1. In design canvas, locate the input control that needs to have a validator.
2. In the Palette view, expand CAF Core > Validator, and select a validator.
3. Drag the validator until you can drop it on the control.
You can only drop onto a control whose boundary is highlighted when you drag the validator over it. If the
overlay is visible on the cursor, you cannot drop the validator.
4. In the design canvas, click the validator.
If the validator has any editable properties, they are visible on the Properties view.
For descriptions of properties in a specific validator, see the reference page for that validator.