Prado\Web\UI\WebControls\TBaseValidator::getClientSide PHP Method

getClientSide() public method

The client-side validator supports the following events. # OnValidate -- raised before client-side validation is executed. # OnValidationSuccess -- raised after client-side validation is completed and is successfull, overrides default validator error messages updates. # OnValidationError -- raised after client-side validation is completed and failed, overrides default validator error message updates. You can attach custom javascript code to each of these events
public getClientSide ( ) : TValidatorClientSide
return TValidatorClientSide javascript validator event options.
    public function getClientSide()
    {
        if ($this->_clientSide === null) {
            $this->_clientSide = $this->createClientSide();
        }
        return $this->_clientSide;
    }