- Posts: 12
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Set multiple choice checkbox to "checked" after assigning value with equation?
- wisniman
- Topic Author
- Offline
- New Member
Less
More
3 years 8 months ago #204372
by wisniman
Set multiple choice checkbox to "checked" after assigning value with equation? was created by wisniman
How do I set the checkbox status of a multiple choice question to "checked" after assigning values with an equation?
I have been able to assign the values and they can be read out using the expression manager, but the multiple choice checkboxes are not marked.
Unfortunately, I have been unsuccesfully searching the documentation and forum so far, any help would be greatly appreciated! Thank you very much in advance!
I am working on LS version 3.22.25.
I have been able to assign the values and they can be read out using the expression manager, but the multiple choice checkboxes are not marked.
Unfortunately, I have been unsuccesfully searching the documentation and forum so far, any help would be greatly appreciated! Thank you very much in advance!
I am working on LS version 3.22.25.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3976
3 years 8 months ago #204373
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Set multiple choice checkbox to "checked" after assigning value with equation?
If you have a question of type "equation" with
{M1_SQ002="Y"}
{M1_SQ005="Y"}
and a multiple question M1, subquestions SQ002 and SQ005 are checked.
If not, you may make a mistake and should send this part of your survey as lss export.
Joffm
{M1_SQ002="Y"}
{M1_SQ005="Y"}
and a multiple question M1, subquestions SQ002 and SQ005 are checked.
If not, you may make a mistake and should send this part of your survey as lss export.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- wisniman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
3 years 8 months ago #204382
by wisniman
Replied by wisniman on topic Set multiple choice checkbox to "checked" after assigning value with equation?
Thank you for your quick reply!
However, I can only get it to work with simple value assignments that don't reference previous questions in the equation and only for questions that don't use relevance equations.
Basically I want to construct array filters for follow up questions based on more or less complex equations combinig multiple answer values. The attached .lss is just a basic mockup of my survey situation.
I know I can use relevance equations for subquestions, but that doesn't work for me in the given scenario.
Even though the checkboxes are not checked I can use the populated multiple choice questions as array filters, but I am experiencing problems with lost answers when backward/forward navigating throught the survey.
Also I am anxious if the values are really stored in the db when the checkboxes are not checked?
However, I can only get it to work with simple value assignments that don't reference previous questions in the equation and only for questions that don't use relevance equations.
Basically I want to construct array filters for follow up questions based on more or less complex equations combinig multiple answer values. The attached .lss is just a basic mockup of my survey situation.
I know I can use relevance equations for subquestions, but that doesn't work for me in the given scenario.
Even though the checkboxes are not checked I can use the populated multiple choice questions as array filters, but I am experiencing problems with lost answers when backward/forward navigating throught the survey.
Also I am anxious if the values are really stored in the db when the checkboxes are not checked?
Attachments:
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3976
3 years 8 months ago #204384
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Set multiple choice checkbox to "checked" after assigning value with equation?
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: wisniman
The topic has been locked.
- wisniman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 1
3 years 8 months ago #204388
by wisniman
Replied by wisniman on topic Set multiple choice checkbox to "checked" after assigning value with equation?
Phew, I see... Now I got some work to do! :S
Thank you very much for the quick support!
Thank you very much for the quick support!
The topic has been locked.