Set multiple choice checkbox to "checked" after assigning value with equation?

More
1 year 9 months ago #204372 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.
The topic has been locked.
More
1 year 9 months ago #204373 by Joffm
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


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
1 year 9 months ago #204382 by wisniman
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?
Attachments:
The topic has been locked.
More
1 year 9 months ago #204384 by Joffm
This will not work if the questions are on the same page.
Revise the structure.







Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The following user(s) said Thank You: wisniman
The topic has been locked.
More
1 year 9 months ago #204388 by wisniman
Phew, I see... Now I got some work to do! :S

Thank you very much for the quick support!
The topic has been locked.

Start now!

Just create your account and start using Limesurvey today.

Register now