Check out the LimeSurvey source code on GitHub!

semantic differential

More
4 years 6 months ago #84162 by Fabian
Hello,

I have created a question as a semantic differential.


I want to place the option "weiß nicht" on the right side, i. e. outside of the label-set.


I can creat the semantic differential without any problems, but not as shown. In the manual it´s shown how it should look like in the end. I tried with show no answers yes/no in the settings, but there´s no difference. What am I doing wrong?

Fabian
Attachments:

Please Log in to join the conversation.

More
4 years 6 months ago #84168 by tpartner
The question behaves as expected for me in 1.92:


Try this sample survey:

File Attachment:

File Name: limesurvey...2739.lss
File Size:22 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

More
4 years 6 months ago #84180 by Fabian
it works... Thanks
I had to change the settings to show no answers = yes, mandatory question = no

but is there a way to change the title "no answer" to another one?

Please Log in to join the conversation.

More
4 years 6 months ago #84196 by tpartner
If you want to change it for all surveys, you can change the translation.

If you just want to change it for a specific question, you can add the following script to the source of the question (replace "QQ" with the question ID ):
<script type="text/javascript" charset="utf-8">
 
	$(document).ready(function(){
		$('#questionQQ table.question thead th:last').text('New Label');
	});
 
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
4 years 6 months ago #84256 by Fabian
thank you very much!

cheers

Please Log in to join the conversation.

More
2 years 3 months ago #114698 by lime_enpres
Hello,

we had the same issues with the "answer field" as described above. We also wanted to change it for specific questions and we followed the described procedure.

For the question type "array" it worked perfectly fine. But when we wanted to change it for questions of the type: List (Radio); it didnt show the new label.

Is it possible that we have to change something in the script mentioned above? And if, what would it be?
We have unfortunately no experience with java.

This is the script we used:

<script type="text/javascript" charset="utf-8">

$(document).ready(function(){
$('#questionQQ table.question thead th:last').text('New Label');
});

</script>

Please Log in to join the conversation.

More
2 years 3 months ago #114702 by tpartner
Try this:

<script type="text/javascript" charset="utf-8">
 
	$(document).ready(function(){
		$('#question{QID} label.answertext:last').text('New Label');
	});
</script>

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
2 years 3 months ago #114704 by lime_enpres
That worked.

Thx a lot for your help!

We have another little problem related to the "no answer" field; perhaps you could help us out again.

When you run the survey, the "no answer"- field is always selected in advance. Is it possible to change this setting? If participants accidently skip a line, the "no answer" field is selected and this would distort our results. Is it possible that none of the possible options are selected?

Please Log in to join the conversation.

More
2 years 3 months ago #114707 by holch
But when patricipants skip a line, that basically means there is "no answer". Why would that distort your results?

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
2 years 3 months ago #114710 by lime_enpres
Some of the questions in our survey ask for very sensitive data. Therefore we had to define them as non-mandatory questions. LimeSurvey then automatically creates the "no answer" field.

We know that we could change in the general settings that the button should not be visible in the whole survey at all.
But in some question groups it is required that the participants could choose the no answer option.

Therefore we would like to know if it is possible to eliminate the "no answer" field for a specific question while answering the question is still non-mandatory.


Now to the problem with the distortion of our results:

Because we didnt find a way to eliminate the "no answer"-field we altert the title of it into a statement like "very satisfied". But because LimeSurvey still recognizes this field as the "no answer"-field, it is still highlighted in the beginning when you run the survey. And when participants unintentionally skip a line then now the option "very satisfied" would be reported as their answer and this will distort our results.

Please Log in to join the conversation.

More
2 years 3 months ago #114716 by holch
Well, you could switch off the "no answer" in general and then add the "no answer" options as a normal answer option into your scale for those questions where you need it.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
2 years 3 months ago #114721 by lime_enpres
We have thought about this option, but this is no viable choice for us because we have a lot of array-type questions in our survey where we use the semantic differential. If we would add the "no answer" option as a normal answer option it would appear directly behind all the other answer options between the two statements.

But we want it to appear at the right end of the screen directly after the second statement. And therefore we have to choose that the "no answer" field is visible in general.

That´s why we still seek for an option to eliminate the "no answer"-field in specific questions.

Or at least, that the "no answer"-field isnt preselected when you run the survey

Please Log in to join the conversation.

More
2 years 3 months ago #114724 by Ben_V

lime_enpres wrote: Therefore we would like to know if it is possible to eliminate the "no answer" field for a specific question while answering the question is still non-mandatory.


Not tested but should be something very closed to:
<script type="text/javascript" charset="utf-8">
  $(document).ready(function(){
      $('#questionQQ table.question tr td:last').css({ 'display':'none' });	
//   $('#questionQQ table.question thead th:last').css({ 'display':'none' });	
  });
</script>

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

More
2 years 3 months ago #114756 by lime_enpres
Thanks!

Appreciate the help.

This almost solved our problem. The "no answer"-option is now blank except for the button itself.

Is there a possibility to delete the button as well?


Attachments:

Please Log in to join the conversation.

More
2 years 3 months ago #114764 by Ben_V
All the code given in this thread is for an array question type, and it seems you are using radio buttons...

It's much better to start a new topic rather than to reopen a 2y old one with such important differences...

...

You have to look at the source code and hide all the answer components (button + answer text) using css; Could be something like:
#javatbd1234X567X89 { display:none }
.

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form