Prado\Web\UI\WebControls\TCaptchaValidator::evaluateIsValid PHP Method

evaluateIsValid() protected method

The validation succeeds if the input control has the same value as the one displayed in the corresponding CAPTCHA control.
protected evaluateIsValid ( ) : boolean
return boolean whether the validation succeeds
    protected function evaluateIsValid()
    {
        $value = $this->getValidationValue($this->getValidationTarget());
        $control = $this->findCaptchaControl();
        return $control->validate(trim($value));
    }