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

More
3 years 4 months ago #108039 by mrli999
mrli999 created the topic: How to check whether the user didn't fill the survey before according to email
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
3 years 4 months ago #108049 by tpartner
tpartner replied the topic: How to check whether the user didn't fill the survey before according to email
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
3 years 4 months ago #108070 by byan
byan replied the topic: How to check whether the user didn't fill the survey before according to email
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
3 years 4 months ago #108086 by mrli999
mrli999 replied the topic: How to check whether the user didn't fill the survey before according to email

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
3 years 4 months ago #108088 by tpartner
tpartner replied the topic: How to check whether the user didn't fill the survey before according to email
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.

Start now!

Just create your account and start using Limesurvey today.

Register now