Class TValidatorClientSide
TValidatorClientSide class.
Client-side validator events can be modified through the TBaseValidator::getClientSide ClientSide property of a validator. The subproperties of ClientSide are those of the TValidatorClientSide properties. The client-side validator supports the following events.
The OnValidate event is raise before the validator validation functions are called.
The OnValidationSuccess event is raised after the validator has successfully validate the control.
The OnValidationError event is raised after the validator fails validation.
See the quickstart documentation for further details.
- TComponent
-
TClientSideOptions
-
TValidatorClientSide
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.0
Located at Web/UI/WebControls/TBaseValidator.php
public
string
|
|
public
|
#
setOnValidate( string $javascript )
Client-side OnValidate validator event is raise before the validators validation functions are called. |
public
|
#
setOnValidationSuccess( string $javascript )
Client-side OnSuccess event is raise after validation is successfull. This will override the default client-side validator behaviour. |
public
string
|
|
public
|
#
setOnValidationError( string $javascript )
Client-side OnError event is raised after validation failure. This will override the default client-side validator behaviour. |
public
string
|
|
public
|
|
public
boolean
|
ensureFunction(),
getOption(),
getOptions(),
setFunction(),
setOption()
|
GLOBAL_RAISE_EVENT_LISTENER
|