NoCaptcha – validation of custom content
-
Trying to determine how to implement Google’s NoCaptcha ReCaptcha within CF7, but can’t get past making it a required field within the form and verifying with google’s servers that it received the correct information.
Ideally I just need to find a way to reference the posted data from the form and see if the captcha was sent – at which point I can do a file_get_contents from google’s servers and verify if the captcha was filled out correctly. However, whilst I’ve found reference to posted_data in the cf7 files, I don’t appear to be able to reference it correctly, even for the other fields that I know definitely are there.
In theory it should be sent along with all the other data as $cf7->posted_data[‘g-recaptcha-response’].
- The topic ‘NoCaptcha – validation of custom content’ is closed to new replies.