Welcome to the LimeSurvey Community Forum

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

Text array: Only visible row as mandatory

More
4 years 9 months ago #207393 by squidy
Hello.
I'm using this script to make array text more functional to user. I need to set this field as mandatory. However, the mandatory must to be set only on visible rows. Is there a way to do that?

Using LS 5.x
Upgrading to LS 6.x
The topic has been locked.
More
4 years 9 months ago #207397 by tpartner
You cannot change the mandatory status via JavaScript.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 9 months ago #207447 by squidy
Do you have any trick about it?

Using LS 5.x
Upgrading to LS 6.x
The topic has been locked.
More
4 years 9 months ago #207449 by tpartner
I suppose you could insert a hidden multiple-choice question, have the JavaScript toggle the checkboxes and use an array filter based on the hidden question.

Unfortunately, don't currently have time to develop that.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose