Welcome, Guest
Username: Password: Remember me

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

How to check whether the user didn't fill the survey before according to email 3 months 2 days ago #108039

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 1
  • Karma: 0
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.
The administrator has disabled public write access.

How to check whether the user didn't fill the survey before according to email 3 months 1 day ago #108049

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
The following user(s) said Thank You: mrli999

How to check whether the user didn't fill the survey before according to email 3 months 1 day ago #108070

  • boyan
  • boyan's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 49
  • Thank you received: 9
  • Karma: 1
You should be able to get that information through statistics. But you will have to do it manually for each email.
The administrator has disabled public write access.
The following user(s) said Thank You: mrli999

How to check whether the user didn't fill the survey before according to email 2 months 4 weeks ago #108086

  • mrli999
  • mrli999's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 95
  • Thank you received: 1
  • Karma: 0
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.
The administrator has disabled public write access.

How to check whether the user didn't fill the survey before according to email 2 months 4 weeks ago #108088

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4071
  • Thank you received: 748
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.120 seconds
Donation Image