Welcome to the LimeSurvey Community Forum

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

Mandatory array sub-questions bug

  • RTOPS
  • RTOPS's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #148568 by RTOPS
Mandatory array sub-questions bug was created by RTOPS
Hi everyone,

I thought I was done with the programming of my first survey, but here is one more (and the last, I hope! :P) bug that I try to resolved. As you can see in the pictures attached, when the page reload because user hasn't answered all the mandatory sub-questions (which is normal and what we want), the new police of the sub-questions (orange background, white bold text) then pile up on the answer columns, which is problematic. Is there a simple way to modify the mandatory sub-questions? I have searched the forum but didn't find what to change in the template.

I would like to have a red color police, same size as the "clean" array sub-questions and not bold, without the orange background.

Template: Ubuntu Orange
LM Version : Version 2.51.4+160908



The topic has been locked.
  • RTOPS
  • RTOPS's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #148569 by RTOPS
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago - 7 years 1 month ago #148593 by tpartner
Replied by tpartner on topic Mandatory array sub-questions bug
Try adding something like this to the end of template.css:

Code:
th.answertext .label-danger {
  background: transparent none;
  border-radius: 0;
  color: #df382c;
  display: inline;
  font-size: 75%;
  font-weight: normal;
  line-height: normal;
  padding: 0;
  text-align: left;
  vertical-align: baseline;
  white-space: normal;
}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 7 years 1 month ago by tpartner.
The following user(s) said Thank You: RTOPS
The topic has been locked.
  • RTOPS
  • RTOPS's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 1 month ago #148606 by RTOPS
Replied by RTOPS on topic Mandatory array sub-questions bug
It works great! Thanks again Tony :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose