Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: inserting text between multiple choice subquestions

inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79074

  • brittCL
  • brittCLs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
Hi guys,

Searched all over internet including this forum but nothing helps. Anyone could help me with the following?

I have a multiple choice question with some subquestions. I need to insert some text (titles) between some of these subquestions like :

Title
SQ001
SQ002
SQ003
Title
SQ004
SQ005
Title
SQ006
SQ007
SQ008

I tried adding those titles as subquestions but then they obviously get a clickable checkbox next to them, which makes them seem like another subquestion. From what I read, some items can be hidden with javascript so hiding their checkboxes would be a solution for me. I don't know if this approach is more/less complicated than inserting text.

Hopefully this can be solved without too much technical knowledge (know nothing about javascript)

Thank you very much for your time!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79077

  • Mazi
  • Mazis Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 5350
  • Dank erhalten: 299
  • Karma: 250
If you want to add such headlines in between a multiple chocie question you can e.g. add a HTML line break after the previous answer text and then add the headline, example
myanswertext_for_SQ003 <br /> Title

Alternativle you set the titles as subquestions and activate a sample survey and post the link here and I can have a look how you could hide the checkboxes.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79081

  • brittCL
  • brittCLs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
That's brilliant!! And fast too :) Tyvm Mazi, great tip.

This works for title 2 and 3 but the first one is a problem since there is no previous subquestion :(

I'm not able to activate the survey (no permission for that) so I can't post the link :( But the question is nothing fancy, just a regular multiple choice question so probably a general technique for hiding the checkboxes could be used.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79082

  • Mazi
  • Mazis Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 5350
  • Dank erhalten: 299
  • Karma: 250
Here comes a link to a sample survey

This is how it will look like:
mc.png


The checkboxes are hidden using Javascript. Have a look at this blog post at www.limesurvey-consulting.com for more details: How to use JavaScript at a Limesurvey template or survey

The Javascript used for this question:
<script type="text/javascript" charset="utf-8">
 
$(document).ready(function() {
 
	$('#answer57884X20X272SQ001').hide();
	$('#answer57884X20X272SQ005').hide();
});
</script>

Please mind that you have to adjust IDs when making use of this sample code.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Letzte Änderung: 2 Jahre 5 Monate her von Mazi.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79084

  • brittCL
  • brittCLs Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 3
  • Karma: 0
This worked like a charm! Exactly what I was looking for.
Thank you Mazi! Karma +1 ;)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 2 Jahre 6 Monate her #79099

  • Mazi
  • Mazis Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 5350
  • Dank erhalten: 299
  • Karma: 250
brittCL schrieb:
This worked like a charm! Exactly what I was looking for.
Thank you Mazi! Karma +1 ;)
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 1 Jahr 8 Monate her #92296

  • adishardis
  • adishardiss Avatar
  • OFFLINE
  • Senior Lime
  • Beiträge: 58
  • Karma: 0
Is it possible to have have them in two column side by side?

Cars Pets
Ford Cat
Chrystler dog
BMW

Thanks
/Adam
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: inserting text between multiple choice subquestions 1 Jahr 8 Monate her #92394

  • tpartner
  • tpartners Avatar
  • ONLINE
  • LimeSurvey Team
  • Beiträge: 4297
  • Dank erhalten: 810
  • Karma: 373
There is a "Display columns" advanced setting - docs.limesurvey.org/Question+type+-+Mult...rvey#Display_columns
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.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Folgende Benutzer bedankten sich: adishardis
Moderatoren: ITEd
Ladezeit der Seite: 0.143 Sekunden
Donation Image