Welcome to the LimeSurvey Community Forum

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

Adding a 3rd cell on Dual Matrix

  • driggypop
  • driggypop's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #218304 by driggypop
Adding a 3rd cell on Dual Matrix was created by driggypop
Hi everyone, 

unfortunately, no one could help me in the German forum, so I ask here. I have a relatively trivial request, but despite research in German and English forum couldn`t find any solution. The topic has been around a lot, but the solution always seems very individual to me, and all attempts to implement the options which were similar have failed miserably so far. 

What it is about:

Dual Matrix: Adding a third cell + answer not prefilled

I have a dual matrix where I would like to query two things (Is a certain activity beneficial or is it possibly already implemented in a project, see screenshot). Even though it does not follow the pure doctrine of questionnaire design, I would like to have a third column/scale "not applicable". In my example you can only see the global "no answer (keine Antwort)" option, which I find linguistically unfortunate, but most of all it bothers me that the option is always pre-filled. How it should finally look is outlined in a second picture (to be seen below).

At first I thought it would be easiest to rename the option "no answer", but that is a global setting and hardwired. As I said I have tried quite a lot, so far without success. Does anyone perhaps have an idea how to make this work? 

LimeSurvey 
Version 5.0.3+210609

Thanks and many greetings to all

 
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #218319 by tpartner
Replied by tpartner on topic Adding a 3rd cell on Dual Matrix
This script in the question source will modify the "No answer" text:

Code:
<script type="text/javascript" data-author="Tony Partner">  
  $(document).on('ready pjax:scriptcomplete',function(){
 
    $('#question{QID} .answer-text.noanswer-text').html('Not applicable');
  });
</script>

Sample survey attached:  

File Attachment:

File Name: limesurvey...9374.lss
File Size:25 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: driggypop
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose