- Posts: 20
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
????other than a very time consuming process of creating three distinct answer scales in an array, and then make the 3rd answer exclusive
if you use an "array dual scale"of creating three distinct answer scales in an array
Why?Regarding gender, I also indeed do utilize EM to branch the questions. One problem with that method is that it creates 2 distinct columns of data
Can someone provide a simple solution to creating a dual array table as I have shown in the image that either changes the "no answer" text or allows me to type in text in the yellow area?
<script type="text/javascript" charset="utf-8"> $(document).on('ready', function(){ var text1 = "My inserted text"; $('#question{QID} table.subquestions-list thead:first tr:first > *:last-child').text(text1); }); </script>
<script type="text/javascript" charset="utf-8"> $(document).on('ready', function(){ var text1 = "My inserted text"; $('#question{QID} table.subquestions-list thead:first tr:last > *:last-child').text(text1); }); </script>
Can you attach a small sample survey (.lss file) containing only the relevant question?I am working in RTL, so the outline and highlighted text are the "no answer" option column. This would be the far right column in English, LTR. Javascript is enabled and other source manipulations do work. I think the issue is that last-child is not the correct reference to the no answer column, but I am not sure.
<script type="text/javascript" charset="utf-8"> $(document).on('ready', function(){ var text1 = "My inserted text 1"; var text2 = "My inserted text 2"; if($('#question{QID} table.subquestion-list th.header_no_answer').length > 0) { // Cell above "No Answer" label $('#question{QID} table.subquestion-list th.header_no_answer').text(text1); // "No Answer" label at top of table $('#question{QID} table.subquestion-list th.noanswer-text').text(text2); // "No Answer" label in block view (smaller devices) $('#question{QID} table.subquestion-list td.noanswer-item label').text(text2); } }); </script>