- Posts: 24
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Mandatory array sub-questions bug
- RTOPS
- Topic Author
- Offline
- Junior Member
Less
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! ) 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
I thought I was done with the programming of my first survey, but here is one more (and the last, I hope! ) 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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
7 years 1 month ago #148569
by RTOPS
Replied by RTOPS on topic Mandatory array sub-questions bug
Link to the survey:
certa.recherche.usherbrooke.ca/limesurve...x.php/826389?lang=fr
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
7 years 1 month ago - 7 years 1 month ago #148593
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 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
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 24
- Thank you received: 0
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.