summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TReCaptcha/Home.page
blob: 6a0188d6739b6dfac6ad33c6c92ae168a18c14c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<com:TContent ID="body">
<h1>TReCaptcha Samples</h1>

<h2>Validating ReCAPTCHA v1</h2>

Please note that this sample can't work unless you provide a valid private/public key to use the ReCAPTCHA service.

<com:TReCaptcha ID="Captcha"
   PublicKey="insert your public key here"
   PrivateKey="insert your private key here"
/>

<com:TButton Id="SubmitButton" Text="Submit" OnClick="buttonClicked" />
<com:TReCaptchaValidator ControlToValidate="Captcha"
    ErrorMessage="You are challenged!" />

</com:TContent>