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
6 years 2 days 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?

Upgrading to LS 7.x
The topic has been locked.
More
6 years 2 days 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
6 years 1 day ago #207447 by squidy
Do you have any trick about it?

Upgrading to LS 7.x
The topic has been locked.
More
6 years 1 day 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: tpartner, holch

Lime-years ahead

Online-surveys for every purse and purpose