Welcome to the LimeSurvey Community Forum

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

Duale Matrix - No answer section

More
8 years 10 months ago #143478 by CFK
Dear Experts,

can you please help me and let me know how I can add a "no-answer-section" to a dual matrix?

This is very urgent (the questionnaire need to be online on Monday). It would be great to get answer as soon as possible.

Thanks

Version 2.06+ Build 150911
The topic has been locked.
More
8 years 10 months ago #143485 by holch
One "no answer" for each scale? Easy - just add an item to your scale called "no answer"
One "no answer" for the whole question? I have no idea.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
8 years 10 months ago #143486 by CFK
Thank you for quick answer.

Do you know if i can colour specific parts of a matrix?

e.g.

The topic has been locked.
More
8 years 10 months ago #143488 by holch
I am sure that with the help of CSS or Javascript you probably can. But this depends very much on the template.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
8 years 10 months ago #143510 by Deusdeorum
As holch says you can use javascript or css to style your array, below is an example of adding css with javascript but you can simply just do something similar with css in your template:
Code:
<script type="text/javascript" charset="utf-8">    
  $(document).ready(function() {
        $('.answer_cell_1_A4').css({ 'background-color': 'red', 'opacity': '0.25' });
        $('.answer_cell_2_A4').css({ 'background-color': 'red', 'opacity': '0.25' });
    });
</script>


You can probably adjust it to select "td:last-child" or something for a general solution!
The topic has been locked.
More
8 years 10 months ago #144127 by DenisChenu
Like Deusdeorum show : all item wrapper have the class answer_cell_Xcode_Ycode : then it can be a great idea to use it in CSS.

I unpin this topic.

PS : it give me an idea about 3.0 next release : bugs.limesurvey.org/view.php?id=11870

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose