docs.roxen.comView this page in a printer friendly mode
DocsRoxenWebServer 6.1Web Developer ManualIf Tags
Copyright © 2021, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<else>
<elseif>
<false>
<if>
<if accept>
<if client>
<if clientvar>
<if config>
<if cookie>
<if date>
<if defined>
<if domain>
<if exists>
<if expr>
<if false>
<if group>
<if internal-exists>
<if ip>
<if kerberos-auth>
<if language>
<if match>
<if Match>
<if module>
<if pragma>
<if prestate>
<if recaptcha-verify>
<if referrer>
<if scope>
<if sizeof>
<if supports>
<if time>
<if true>
<if type-from-data>
<if type-from-filename>
<if user>
<if variable>
<if Variable>
<if variable-exists>
<then>
<true>

<if recaptcha-verify></if>

Provided by module: Tags: Google reCAPTCHA

Verifies a reCAPTCHA response against Google's verification service.

<if recaptcha-verify='&form.g-recaptcha-response;' site-key='...'> <!-- Handle form --> </if> <else> You'r a Bot! </else>

Either the site-key or secret attribute is required.


Attributes

recaptcha-verify="string"

The response code your form gets populated with when someone does a reCAPTCHA.


secret="string"

The secret key given on your reCAPTCHA settings page on Google.


site-key="string"

In the module settings you can set up site key/secret pairs. If so you don't have to have your secret laying around in your RXML code, but instead give the site key here and the secret will be resolved within the module.

If named key pairs are configured this could also be the arbitrary name of a named reCAPTCHA configuration.