KoolGrid - Powerful PHP GridKoolGrid - Powerful PHP GridTrialVersion 2.0.0.0 released on 2/28/2010

Validation - Insert/Edit Validation

The example requires database in order to run. Click here to install now!

Description & Sample code

This example shows you how to add validator to grid column. The validator will ensure the input from user is correct before doing data operation task. In above example, we have used RequiredFieldValidator and RegularExpressionValidator. The RequiredFieldValidator make sure that input from user is not empty. And the RegularExpressionValidator helps to ensure the input for customerNumber is integer.

Together with above two validators, there are other two validators: RangeValidator and CustomValidator, all cover full range of grid input validation.