- Posts: 41
- Thank you received: 1
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Text array: Only visible row as mandatory
- squidy
- Topic Author
- Offline
- Senior Member
Less
More
3 years 5 months ago #207393
by squidy
Using LS 5.x
Text array: Only visible row as mandatory was created 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?
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
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 5 months ago #207397
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Text array: Only visible row as mandatory
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.
- squidy
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 41
- Thank you received: 1
3 years 5 months ago #207447
by squidy
Using LS 5.x
Replied by squidy on topic Text array: Only visible row as mandatory
Do you have any trick about it?
Using LS 5.x
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
3 years 5 months ago #207449
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Text array: Only visible row as mandatory
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.
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.