reCAPTCHA input for your forms.
Copyright (c) 2007 reCAPTCHA -- http://recaptcha.net AUTHORS: Mike Crawford Ben Maurer
valueFromFormData( $name, $data) : array
Get the form data from the reCaptcha fields.
We need to get back two fields from the POST request 'recaptcha_challenge_field' and 'recaptcha_response_field'.
They are hardcoded, so we do not even bother checking something else.
Challenge and answer
Returns the HTML ID attribute of this Widget for use by a <label>, given the ID of the field. Returns None if no ID is available.
This hook is necessary because some widgets have multiple HTML elements and, thus, multiple IDs. In that case, this method should return an ID value that corresponds to the first ID in the widget's tags.
getHtml( $pubkey, $error = null, $use_ssl = false) : string
The HTML to be embedded in the user's form.