Welcome to the LimeSurvey Community Forum

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

dual scale question type with numbers

  • gogi100
  • gogi100's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 4 months ago - 2 years 4 months ago #240656 by gogi100
dual scale question type with numbers was created by gogi100
 Please help us help you and fill where relevant:
Your LimeSurvey version: 3.14
Survey theme/template: vanila
==================
in my limesurvey exists the dual scale question type with radio, i need dual scale with input text box with numbers. how resolve my problem?

 
Last edit: 2 years 4 months ago by gogi100.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #240657 by Joffm
Replied by Joffm on topic dual scale question type with numbers
Hi, 
you do not like to have a dual array (this has a special meaning in market research).
You only want to have an array(numbers) where you want to capture data of different dimensions.

So you may use this.
And to tell the respondents what to enter for the different years you may add an additional header.
 

Here's the script to enter into the question text (source code mode)
Code:
<script type="text/javascript" charset="utf-8">
$(document).on('ready pjax:scriptcomplete',function(){
    // Insert the column categories
    $('#question{QID} table.subquestion-list thead tr:eq(0) td:eq(0)').remove();
    $('#question{QID} table.subquestion-list thead').prepend('<tr class="ls-heading">\
      <td rowspan="2" colspan="1" style="border-top:0 !important;"></td>\
      <th class="answer-text inserted-header" colspan="4">Scale 1</th>\
      <th class="answer-text inserted-header" colspan="4">Scale 2</th>\
    </tr>');
    });    
</script>

Of course you can use colors by adding  style="background-color:#123456;" (your desired color) to the cells
 

Joffm




 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 4 months ago #240658 by Joffm
Replied by Joffm on topic dual scale question type with numbers
Sorry, the first image shows the "checkbox"-layout and not the years.
It's just my carelessness.
Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose