CustomValidator Class [PHP]

This class is obsolete.
Instead of using this class, you should write a custom class derived from GridValidator.

Summary

Properties Description
ValidateFunction Get or set function that will handle validation task.

Properties Detail

ValidateFunctionTop

function ValidateFunction

Get or set function that will handle validation task. Your custom validation function will get a value as parameter. The function will validate the value and return error message if value is not valid. The function returns null if the value is valid.

Show/Hide Code

Supported from version: 1.3.0.0