Welcome, Guest
Username: Password: Remember me

TOPIC: Multiple opt. question with ONLY ONE BIG comment box !

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 3 weeks ago #105904

  • ASDLR
  • ASDLR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Dear all,

I am new to the forum and I thank you very much in advance for your help.

On a survey i am currently building for my PhD sociological research, I am trying to ask a multiple choice question with solely one big comment box (and not a small one for each answer modality as it is by default programmed).

I am using the Vallendar design and must say have been lacking experience in order for me to be able to modify the css/js code of the template.

Looking forward to reading your responses.

Sincerely,

ASDLR.
Last Edit: 5 months 3 weeks ago by ASDLR.
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 3 weeks ago #105906

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2622
  • Thank you received: 307
  • Karma: 113
Here are the different question types available directly in Limesurvey.

manual.limesurvey.org/Question_types

As you have already noticed, you don't have a question type "multipe choice with one big comment field". There is one "list with comment", which is what you are probably looking for, but as multiple choice.

What I would do now is to create two questions: one multiple choice and one long free text. Then I would try to hide the question for the long free text via CSS. I guess this is the easiest way to achive what you want.
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 2 weeks ago #106082

  • ASDLR
  • ASDLR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Dear Holch, thanks for your response.

Any way you could help me out with the css modification procedure ? It is not my forte, i must admit.
Last Edit: 5 months 2 weeks ago by ASDLR.
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 2 weeks ago #106083

  • holch
  • holch's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2622
  • Thank you received: 307
  • Karma: 113
This depends very much on the template you are using and the way you want it to look. Do you have a 'mockup' that shows how the questions looks like/should look like?
Have a look at the manual! It is a really valuable source for information. Here some helpful links:
Manual (EN) | Question Types | Question Attributes | Workarounds

If you found this answer helpful and it saved you some time please consider a donation to the project to keep Limesurvey going!
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 2 weeks ago #106089

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6272
  • Thank you received: 800
  • Karma: 240
Hi,

Q1: multi check box
Q2: long text question

Some css and/or js to put Q2 rigth of Q1.
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 2 weeks ago #106093

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4132
  • Thank you received: 763
  • Karma: 347
To expand on Denis' suggestion...

1) Place a long-text question directly after the multiple-options question

2) Set up your survey to use JavaScript.

3) Add the following script to the source of the multiple-options question.

<script type="text/javascript" charset="utf-8">	
	$(document).ready(function() {
 
		// Identify the questions
		var thisQuestion = $('#question{QID}');
		var nextQuestion = $(thisQuestion).nextAll('.text-long:eq(0)');
 
		// Hide the long-text question
		$(nextQuestion).hide();
 
		// Move the textarea
		$('ul.subquestions-list', thisQuestion).after($('textarea', nextQuestion));
 
		// Some styling
		$('ul.subquestions-list', thisQuestion).css({ 
			'width':'50%', 
			'float':'left' 
		});
		$('textarea', thisQuestion).css({ 
			'float':'right' 
		});
	});
</script>


Capture_2014-03-09.png
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Multiple opt. question with ONLY ONE BIG comment box ! 5 months 2 weeks ago #106096

  • ASDLR
  • ASDLR's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Wonderful tpartner ! It worked like a charm.

I definitely will consider donating to help you guys out (though a PhD student in sociology ain't, by definition, very rich).

Thanks again!
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.149 seconds
Donation Image