summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TReCaptcha2/Home.page
blob: 742fe49612c7aeac5f3f80ecfaf51adee247f932 (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 v2</h2>

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

<com:TReCaptcha2 ID="Captcha"
   SiteKey="insert your site key"
   SecretKey="insert your secret key"
/>

<com:TActiveButton Id="SubmitButton" Text="Submit" OnCallback="buttonCallback" />
<com:TReCaptcha2Validator ControlToValidate="Captcha"
    ErrorMessage="You are challenged!" />

</com:TContent>