Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Check if answer already exists

Check if answer already exists 2 years 11 months ago #102707

  • dweisser
  • dweisser's Avatar
  • Offline
  • Gold Lime
  • Posts: 222
  • Thank you received: 5
  • Karma: 5
I wonder if someone has already detailed a workaround I simply can't find....

Running a non-token based survey, I would like to:
1) Check if an answer already exists for a respondent.
Say Q1 is "Please enter your email". I want to run a script that "checks" the answer table to see if that email exists.

2) If the email exists, I want to:
a) prefill answers on current and subsequent pages with answers from that person's data row - maybe just boilerplate question like "Thank you for returning. Please proceed."

Essentially, I'm bypassing Registration in order to avoid a tokens table (people lose tokens, and token email)...but still enjoy the benefit of a non-anonymous survey.

Is this possible? Thanks as always.
The administrator has disabled public write access.
Time to create page: 0.714 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form