Welcome to the LimeSurvey Community Forum

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

Disable Answer Scale 2 Based on Selection in Array Dual Scale

More
1 month 2 weeks ago #271157 by satyam123
Hi,I’m working with an Array Dual Scale question and would like to implement the following behavior:
If a respondent selects the first option in Answer Scale 1, then the corresponding Answer Scale 2 in the same row should be disabled or unselectable else able to select  .Could you please help me implement this functionality?

Regards,
Satyam

Please Log in to join the conversation.

More
1 month 2 weeks ago #271159 by Joffm
Please, neither send lsq nor lsg exports.
Only lss.

Joffm

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

Please Log in to join the conversation.

More
1 month 2 weeks ago #271161 by satyam123
Apologize, I am sharing *.lss file.

Please Log in to join the conversation.

More
1 month 2 weeks ago #271163 by Joffm
HI,
You can't set the question to "mandatory", but do not enter a value into scale 2.
Therefore you have to automatically set something if value "1" in scale 1 is selected.

I used this "old" script of @tpartner
[url] forums.limesurvey.org/forum/can-i-do-thi...atrix?start=0#164832 [/url]
and adapted to your codes and added a code "6 = not applicable" to scale 2.
 

Joffm
 

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

Please Log in to join the conversation.

More
1 month 2 weeks ago #271166 by satyam123
Hi Joffm,

Thank you for helping me. I will try this.

Regards,
Stayam

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose