reCaptcha example

A CAPTCHA or Captcha is a type of challenge-response test used in computing to ensure that the response is not generated by a computer. ReCaptcha is a popular captcha system that uses successful decodings to helps digitise books for online use.
 

This validation is typically used in contact forms and registration forms to fight against spam bots.

To use it, you'll only need to include the reCaptcha API, and get an API key on the ReCaptcha website.

(Notes: the reCaptcha technology works together with the reCaptcha servers, so you cannot use it in a network which is not connected to the internet. you need to get API keys before using and pass it to Clonefish).

 

The live form - submit it!

Data dump

Below are the dumps of some PHP variables - submit the form to see the changes!

Contents of the $_POST array:
$_POST = array (
)

Results of a $clonefish->getElementValues() call:
array (
  'recaptcha' => NULL,
)

There are cases when the above arrays are different. This is not a bug, but a feature: clonefish was written to help with everyday form hassles (like avoiding the missing value of an unchecked checkbox or compiling the whole date string from date selector fields).