Check out the LimeSurvey source code on GitHub!

How to check whether the user didn't fill the survey before according to email

More
2 years 8 months ago #108039 by mrli999
In one of my survey, when the user filled all questions, we ask them to fill their email address. How can we check whether the user filled the survey before or not according to this email address?

thanks.

Please Log in to join the conversation.

More
2 years 8 months ago #108049 by tpartner
The only way would be to fire an AJAX call to a remote PHP file that queries the database - outside of LimeSurvey capabilities.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: mrli999

Please Log in to join the conversation.

More
2 years 8 months ago #108070 by byan
You should be able to get that information through statistics. But you will have to do it manually for each email.
The following user(s) said Thank You: mrli999

Please Log in to join the conversation.

More
2 years 8 months ago #108086 by mrli999

tpartner wrote: The only way would be to fire an AJAX call to a remote PHP file that queries the database - outside of LimeSurvey capabilities.


thank you very much. Would you please do me a favor and give me an example to show how to use AJAX call to PHP file? many many thanks.

Please Log in to join the conversation.

More
2 years 8 months ago #108088 by tpartner
Here's a post that gives an AJAX example - www.limesurvey.org/en/forum/can-i-do-thi...ith-javascript#95914 .

More info - api.jquery.com/jQuery.ajax/ .


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form