PHP Class Prado\Web\UI\WebControls\TReCaptchaValidator
TReCaptchaValidator validates user input against a reCAPTCHA represented by
a {@link TReCaptcha} control. The input control fails validation if its value
is not the same as the token displayed in reCAPTCHA. Note, if the user does
not enter any thing, it is still considered as failing the validation.
To use TReCaptchaValidator, specify the {@link setCaptchaControl CaptchaControl}
to be the ID path of the {@link TReCaptcha} control.
Show file
Open project: pradosoft/prado
Protected Properties
Public Methods
Protected Methods
Method Details
evaluateIsValid()
protected method
The validation succeeds if the input control has the same value
as the one displayed in the corresponding RECAPTCHA control.
getCaptchaControl()
protected method
getClientClassName()
protected method
This method overrides the parent implementation.
getClientScriptOptions()
public method
getEnableClientScript()
public method
onPreRender()
public method
Property Details
$_isvalid protected property