Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Personalize survey for different participants

  • Kaede1
  • Kaede1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #236336 by Kaede1
Hi,
I am trying to run a survey with a small group of people (closed survey with specific people). However, not all of them need to answer everything as I already have answers (data) of some of them for some questions, and basically don't want to bother them with needless extra questions.
Is there a way I can hide questions for some participants, for example through the access code? For example, participant A would need to answer questions 1,2,4,5 and 8, while participant B would answer questions 1,4,5,6 and 7.
Any hint is greatly appreciated!
Thanks, K

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #236337 by Joffm
Hi,
you can use additional attributes.
if the attribute is empty, show the question.
And pipe the value of the attribute to the question to get a clean full dataset.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Kaede1

Please Log in to join the conversation.

  • Kaede1
  • Kaede1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #236339 by Kaede1
Hi Joffm,
Thank you for the tip! I'm trying to figure out how to do that. Would I use the attributes of each question, and if so, which attribute? I can't find a field where I could set this up.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #236340 by holch
Joffm is talking about custom attributes in the participant / token table. You create a token table and include the data you already have. From the survey you can check if the custom attribute for that refers to the data collected in a question is empty or not. If it is empty you ask the question, if the data is already stored in the custom attribute of the token table, you just write it into the hidden question. You will need to use relevance equations / conditions to show or hide the specific questions.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: Kaede1

Please Log in to join the conversation.

  • Kaede1
  • Kaede1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #236343 by Kaede1
Hi Holch,
Thanks for the additional clarification! Unfortunately I'm pretty much failing at this, not sure where to start and end (first time user, sorry!). Are you by chance aware of a tutorial that explains how to do this?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #236345 by holch
Where are you failing, what have you done?

"It doesn't work" doesn't help much.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #236346 by Joffm
Did you read the manual?
"Survey participants"

Just do it.
Create a new participant after having initialized a participant tab8.
You also will see an option "manage attributes".

Joffm 

 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Kaede1
  • Kaede1's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 1 month ago #236366 by Kaede1
Thanks both!
I have read the manual and got until the point of creating an attribute field in the participants table. The access codes (which in my understanding is the same thing as a token, is that right?) are also created.
Now not sure what to write into the attribute? And how this is related to the equation in the questions? Can I define in the attribute for each participant which questions they will see?
Thanks!

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 1 month ago #236367 by holch
Token is an access code, yes. There have been some changes in wording in some parts of the GUI but it is not always consistent I think.

You define what is written in the custom attributes. Ideally it is the same as if they would answer the question new. So it very much depends on the question type you are using.

For a text question, I would save the text in the custom attribute and pipe it into the question of the survey so you have it in your dataset already.

For other questions you can for example store the answer code and then pipe it into the question.

For relevance equation of each question you would need to check if you have an answer stored in the respective custom attribute in the participant table and then show or hide the question respectively.

e.g. something like this (not tested!!):
Code:
is_empty(attribute1)

So this should check if "attribute1" is empty. If it is, it will give back "true" to Limesurvey which means if used in a relevanc equation of a question, that this question will be shown.

So for piping you can also use something similar in a equation type of question, e.g.:
{if(!is_empty(attribute1);Q1=attribute1;"")}

Again not tested, just to give some basis for your research. Of course this depends on your question type, the question codes / answer codes used, etc.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose