Welcome, Guest
Username: Password: Remember me

TOPIC: Check user detail prior to starting the survey

Check user detail prior to starting the survey 3 years 1 month ago #66261

  • mdooreman
  • mdooreman's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
I want occasionnaly to send a survey to a group of experts. To make their life easier, I want to check generic information from existing data prior to the actual survey.

Therefore I need the following functionality:
- email with link to the survey including some sort of identifying id
- find with that id the data previously entered
- show the data with an edit button next to it (data update without reload)
- continue with survey

I was thinking something like:
Please edit where information is incorrect:

-name: John Doe (edit button)
-phone: -number- (edit button)
etc.

If all correct, please continue to survey: (continue button)

I understand that limesurvey delivers nicely in the survey part, but I couldn't figure out if you're able to paste a fixed 'information check' part in front of it.
I have some basic knowledge of webdesign: html, javascript, ajax, php, mysql. So in theorie I could make such a thing myself. But there is no use to invent the wheel again if limesurvey can already do that, and probably better than I would code.

Thanks for your feedback
Mattias
The administrator has disabled public write access.

Re: Check user detail prior to starting the survey 3 years 1 month ago #66266

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
Have a look at tokens. You could add additional attributes fields at the token section and prefill each user details with the additional information like name, phone, ...
Within the survey you can use placeholders to reference that data (your survey has to be NON anonymous) and ask the user to enter some data if the existing data is wrong.
Afterwards you can show the usual survey questions.

Updating data at the token table from survey answers isn't possible though.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Check user detail prior to starting the survey 3 years 1 month ago #66277

  • mdooreman
  • mdooreman's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Dear Mazi,

Thank you for your assistance. I read the manual about tokens, and I understand that I can show the data from the token table in the wurvey and ask for an input if incorrect.
It shouldn't be too hard to run a query myself on the survey answers to see if any data was entered and update that on the token table.
And since the survey will be non-anonymous, I'm sure there is a link between both tables I can use, like a user-ID, or should I code that myself as an 'attribute'?

Thanks,
Mattias
The administrator has disabled public write access.

Re: Check user detail prior to starting the survey 3 years 1 month ago #66282

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5351
  • Thank you received: 299
  • Karma: 250
If there already is a user ID which is assigned to each data set and this ID is uniqute, you can use it as token value.
If the survey is not anonymous there will be a token column at the lime_survey_12345 table which holds the answer data so you can use the token to connect those tables.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.096 seconds
Donation Image