The type 'recaptcha' input raises errors like all other Couch inputs (the 'require' parameter is not really needed as Google will always validate the captcha at each submission).
As mentioned in the docs on form, your form then should display the errors either in bulk - e.g.
Or with individual field - e.g. assuming the name of the captcha field is 'recaptcha_test', you should test for a variable named 'k_error_recaptcha_test' as follows
@oldcelt, are you using any of those two in your form?
As mentioned in the docs on form, your form then should display the errors either in bulk - e.g.
- Code: Select all
<cms:if k_error >
<font color='red'><cms:each k_error ><cms:show item /><br /></cms:each></font>
</cms:if>
Or with individual field - e.g. assuming the name of the captcha field is 'recaptcha_test', you should test for a variable named 'k_error_recaptcha_test' as follows
- Code: Select all
<cms:input name='recaptcha_test' type='recaptcha'/><br>
<cms:if k_error_recaptcha_test>
<font color='red'><cms:show k_error_recaptcha_test /></font><br>
</cms:if>
@oldcelt, are you using any of those two in your form?