Welcome to the LimeSurvey Community Forum

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

Beschriftung der Spalten in Matrix (links und rechts oben)

  • constructivej
  • constructivej's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #211188 by constructivej
Hallo liebe LimeSurvey-Community,

ich möchte gerne die Spalten in einer Matrix mit "A" und "B" beschriften, da ich das für meine Antwortmöglichkeiten benötige. Weiß vielleicht jemand, ob das inzwischen möglich ist?
(Programmieren kann ich leider nicht)

Für jeden Hinweis bin ich sehr dankbar,
liebe Grüße!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago - 3 years 2 months ago #211198 by Joffm
Hallo,
es wäre am einfachsten Du würdest in den Antwortoptionen nicht auch A oder B referenzieren, sondern eine "Standardanweisung" für ein semantisches Differential nehmen, und die Antwortoptionen entsprechend ändern.
 

Vielleicht geht dies auch, bevor man das große Besteck herausholt.

Es gibt irgendwo hier im Forum eine Lösung, die zumindest in einer "normalen" Matrix das Feld links oben beschreibt, und auch etwas welches sowohl links als auch rechts - aber ich glaube in einer zusätzlichen Zeile.
Muss ich einmal suchen.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 2 months ago by Joffm.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 2 months ago #211205 by Joffm
Ich wusste doch, das es dieses irgendwo gibt.
Hier:
[url] forums.limesurvey.org/forum/can-i-do-thi...row-for-array#200659 [/url]

Einfach einmal ausprobiert wie dies bei semantischen Differentialen ausieht, etwas angepasst, und dann hast Du, was Du möchtest.
 

Füge also folgendes javascript snippet in Deinen Fragetext ein (im Quellcode-Modus)
Code:
<script type="text/javascript" charset="utf-8">    
    $(document).on('ready pjax:scriptcomplete',function(){
        // Insert the column categories
        $('#question{QID} table.subquestion-list thead').prepend('<tr class="ls-heading">\
            <td colspan="1" style="text-align:right;color:orange;font-size:16pt;font-weight:bold">A</td>\
            <th colspan="1" style="text-align:center;">sehr für A</th>\
            <th colspan="1" style="text-align:center;">eher für A</th>\
            <th colspan="1" style="text-align:center;">unentschieden</th>\
            <th colspan="1" style="text-align:center;">eher für B</th>\
            <th colspan="1" style="text-align:center;">sehr für B</th>\
            <th colspan="1" style="text-align:left;color:orange;font-size:16pt;font-weight:bold">B</th>\
        </tr>');
        $('#question{QID} table.subquestion-list thead tr:eq(1) ').remove();
    });
</script>

Du siehst, wo Du anpassen kannst. Farbe, Schriftgröße, Auszeichnung; und auch die Texte selbst.

Viel Erfolg

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: constructivej
The topic has been locked.
  • constructivej
  • constructivej's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 2 months ago #211207 by constructivej
Wow, das klappt wunderbar!

Vielen vielen lieben Dank für die Mühe & die Hilfe, die mir sehr geholfen hat.

Beste Grüße
The topic has been locked.
Moderators: Joffm

Lime-years ahead

Online-surveys for every purse and purpose