- Posts: 222
- Thank you received: 10
Ask the community, share ideas, and connect with other LimeSurvey users!
DenisChenu wrote: Multiple choice : Y or empty, need an extra part to disable reset to empty. For example : another eqution question in the groupe , equG1
{Q00_sq01=if(is_empty(equG1.NAOK),if(TOKEN:ATTRIBUTE_2,"Y",""),Q00_sq01.NAOK)}
and equG1 just have 1 …
You need a have a way to know if ech option must be checked or not.krosser wrote: Thanks, but does it mean that I need to create an attribute for each answer choice/subquestion in that multiple-choice?
Did you read ?krosser wrote: Also, the problem is that this method keeps prefilling that answer choice even after I deselect it, move to next page, and then come back to it - it is refilled again.
Then : use token + prefill value for each token using VV import : it's the method i always use …krosser wrote: My intention is to give the respondent the ability to change his/her previous answer in that multiple choice and save a new value.
Okay, understood.You need a have a way to know if ech option must be checked or not.
Yes, but thought that everything was included in the code line. Can you please give an example of the part with reset to empty?Did you read ?
«Multiple choice : Y or empty, need an extra part to disable reset to empty. For example : another eqution question in the groupe , equG1» equG1 is here to know if user get to the group
Okay, I thought that token attributes would be a better way, especially when it is written in the instructions to VV that there might be errors with importing CSV back to LimeSurvey.Then : use token + prefill value for each token using VV import : it's the method i always use …
support.sondages.pro/?lang=en_USkrosser wrote:
Okay, understood.You need a have a way to know if ech option must be checked or not.
Yes, but thought that everything was included in the code line. Can you please give an example of the part with reset to empty?Did you read ?
«Multiple choice : Y or empty, need an extra part to disable reset to empty. For example : another eqution question in the groupe , equG1» equG1 is here to know if user get to the group
I always use LibreOffice calc for vv edition : never have issue …krosser wrote:
Okay, I thought that token attributes would be a better way, especially when it is written in the instructions to VV that there might be errors with importing CSV back to LimeSurvey.Then : use token + prefill value for each token using VV import : it's the method i always use …
Not really helpful.DenisChenu wrote: support.sondages.pro/?lang=en_US
Yeah, I use it too for CSVs. Will see how this works for complex questions.DenisChenu wrote: I always use LibreOffice calc for vv edition : never have issue …
really helpful if you open a ticketkrosser wrote: Not really helpful.
There are NO reset to empty : all is included inCan you please give an example of the part with reset to empty?
{Q00_sq01=if(is_empty(equG1.NAOK),if(TOKEN:ATTRIBUTE_2,"Y",""),Q00_sq01.NAOK)}
equG1 just have 1
If you have 5 ro 10 question to prefill : really easy to dokrosser wrote: Yeah, I use it too for CSVs. Will see how this works for complex questions.
It is just token attributes seemed easier and quicker because you do not need to analyse the structure of the exported CSV and map your question answers to codes used there. It is a lot of manual work, or writing additional scripts in R for prepopulating the CSV. You do not always have that time...