Welcome to the LimeSurvey Community Forum

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

Array with some cells disabled

  • tammo
  • tammo's Avatar Topic Author
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
8 years 6 months ago #135362 by tammo
Replied by tammo on topic Array with some cells disabled
Thanks, this works, but it does not show it.

Is there also a way of not showing the checkbox, or should I better do that with css?


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 6 months ago #135383 by tpartner
Replied by tpartner on topic Array with some cells disabled
I do see them as greyed-out - see screenshot below. If you want to increase the effect, try adding something like this to the CSS:

Code:
.checkbox input[type="checkbox"]:disabled + label::before, 
.checkbox input[type="radio"]:disabled + label::before {
    opacity: 0.5;
}


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