The second part of this example doesn't match the credit card example above. The goal was to show client side validation using multiple html forms on the same page.
This example lists some procedures in a dataTable. The billed amount must be within the allowable range for each procedure. We are demonstrating client side validation within a dataTable. Another interesting twist is that the variables used in the validation of each row are defined using a value binding expression and are specific to the procedure.
The third part of this example deals with using custom validation rules. Priority must be an even integer.