- Posts: 32
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change the color of a group (inside an index)
- seccalisca
- Topic Author
- Offline
- Junior Member
Less
More
5 years 4 months ago #177311
by seccalisca
Change the color of a group (inside an index) was created by seccalisca
Good evening to everyone,
I'm creating questionnaires that have very long and complex questions (divided into groups).
The questionnaire displays the group index to allow the user to move from group to group faster.
Since the questionnaire is nominative, and it is very probable that the user completes it several times, my client asked me if it is possible to report to the user the sections already compiled, perhaps changing the color of the group within the index .
Does anyone know if there is a control or a parameter that I can query to understand / set the group's completion status?
The only method that came to my mind is a sort of mega equation of relevance but I'm not even sure it will work, so I wanted to ask first.
The version of Limesurvey in use is this: 2.05+ Build 141229, but in any case it is also good to accept recommendations for later versions (3.x)
Thank you all
I'm creating questionnaires that have very long and complex questions (divided into groups).
The questionnaire displays the group index to allow the user to move from group to group faster.
Since the questionnaire is nominative, and it is very probable that the user completes it several times, my client asked me if it is possible to report to the user the sections already compiled, perhaps changing the color of the group within the index .
Does anyone know if there is a control or a parameter that I can query to understand / set the group's completion status?
The only method that came to my mind is a sort of mega equation of relevance but I'm not even sure it will work, so I wanted to ask first.
The version of Limesurvey in use is this: 2.05+ Build 141229, but in any case it is also good to accept recommendations for later versions (3.x)
Thank you all
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
5 years 4 months ago - 5 years 4 months ago #177335
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Change the color of a group (inside an index)
With index full : there are already css difference with
- group with some unanswered question
in 2.6lts (unsure in 2.05) :
in template.css
In 3.X (if there are no current issue), you have too
- group with error
- group with some unanswered question
in 2.6lts (unsure in 2.05) :
Code:
#index .missing {/* you css */}
In 3.X (if there are no current issue), you have too
- group with error
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 5 years 4 months ago by DenisChenu.
The following user(s) said Thank You: seccalisca
The topic has been locked.
- seccalisca
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 32
- Thank you received: 2
5 years 4 months ago #177379
by seccalisca
Replied by seccalisca on topic Change the color of a group (inside an index)
Thank you very much!
It works!
I've added this single row:
#index .missing {color:/*your preferred color */; }
and now the questionnaire starts with the section titles in the color I have set.
Every time a section is completed (even without validation) the color of the corresponding menu item returns to the default value
Perfect.
It works!
I've added this single row:
#index .missing {color:/*your preferred color */; }
and now the questionnaire starts with the section titles in the color I have set.
Every time a section is completed (even without validation) the color of the corresponding menu item returns to the default value
Perfect.
The topic has been locked.
- wujinwen
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
5 years 3 months ago #177913
by wujinwen
Replied by wujinwen on topic Change the color of a group (inside an index)
请问每个组的索引是怎么实现的?非常感谢!
The topic has been locked.