- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Google reCAPTCHA
- lfnascimento
- Topic Author
- Offline
- New Member
Less
More
8 years 7 months ago #124556
by lfnascimento
Google reCAPTCHA was created by lfnascimento
I've been working in a plugin that implements Google reCAPCTHA into a survey.
To illustrate its feature follow the scenario:
Given an user filling a survey out and at the end there is a captcha. When he submits it then the captcha anwser must be validated by Google in order to the answers to be saved to database.
The problem is that I don't have a clue on how to validate the recaptcha response (response gets after the user completes the CAPTCHA challenge) after submitting the survey and before saving answers. As far as I'm concerned, there isn't a plugin event wich handles my methods in this situation. Is there another way to do that?
Please help me to achieve this. Thanks a lot.
To illustrate its feature follow the scenario:
Given an user filling a survey out and at the end there is a captcha. When he submits it then the captcha anwser must be validated by Google in order to the answers to be saved to database.
The problem is that I don't have a clue on how to validate the recaptcha response (response gets after the user completes the CAPTCHA challenge) after submitting the survey and before saving answers. As far as I'm concerned, there isn't a plugin event wich handles my methods in this situation. Is there another way to do that?
Please help me to achieve this. Thanks a lot.
The topic has been locked.
- mstein
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
8 years 7 months ago #124558
by mstein
Replied by mstein on topic Google reCAPTCHA
We're experiencing the same problem here. Any ideas?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 10 months ago #155640
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Google reCAPTCHA
You can do ANYTHING with beforeSurveyPage (in a survey) or more :
manual.limesurvey.org/BeforeControllerAction
(everywhere).
If you already have a php code, it can be adapted for LimeSurvey in a plugin.
If you already have a php code, it can be adapted for LimeSurvey in a plugin.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.