Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Add new field in a multiple choice question

Add new field in a multiple choice question 1 Jahr 6 Monate her #92596

  • gabrielet
  • gabrielets Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 28
  • Dank erhalten: 1
  • Karma: 0
Hi to all,

i have a little question for you.
I have a multiple choice question.
I have to create for response 1, 2, 3 and 4 with label other.
Then i have to create a text field called Motivation down the previuos response.

How do i do this?

I could use other option and then rename it motivation but i'm afraid that limesurvey can give an id to "other" and i could have problem with some questions that have the field other with text...

Thanks
Gabriele
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add new field in a multiple choice question 1 Jahr 6 Monate her #92598

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4117
  • Dank erhalten: 760
  • Karma: 346
The easiest way to handle this would be to add a short-text following the multiple-choice and show it conditionally when "Motivation" is checked.

Searching the forums should yield lots of tips on how to make the two questions appear as one.
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.

Add new field in a multiple choice question 1 Jahr 6 Monate her #92601

  • gabrielet
  • gabrielets Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 28
  • Dank erhalten: 1
  • Karma: 0
Hi and thanks for your response,

but i'd like to show always the short text and not condittionaly.
I' ve attached an example.

I can create two different question and then join into one? How?

Gabriele
Anhang:
Letzte Änderung: 1 Jahr 6 Monate her von gabrielet.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add new field in a multiple choice question 1 Jahr 6 Monate her #92613

  • gabrielet
  • gabrielets Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 28
  • Dank erhalten: 1
  • Karma: 0
To better understand what i'd like to, i attach an example below

Thanks
Gabriele
Anhang:
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add new field in a multiple choice question 1 Jahr 6 Monate her #92655

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4117
  • Dank erhalten: 760
  • Karma: 346
CSS details would differ depending on the template used.

It looks like you are using the Limespired template so these styles added to the end of template.css will make a multiple-options with question ID 11 followed by a short-text with question ID 22 appear to be one.
#question11 .survey-question {
	margin-bottom: 0;
	border-bottom: 0 none;
}
 
#question11 .subquestions-list {
	margin-bottom: 0;
}
 
#question22 .survey-question {
	border-top: 0 none;
}
 
#question22 .survey-question-text,
#question22 .survey-question-answer {
	float: left;
}
 
#question22 .survey-question-text {
	margin: 0 0 0 10px;
	font-weight: normal;
}
 
#question22 .survey-question-answer p {
	margin: 0 0 10px 0;
}

Capture_2013-02-14.JPG
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.

Add new field in a multiple choice question 1 Jahr 6 Monate her #92666

  • gabrielet
  • gabrielets Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 28
  • Dank erhalten: 1
  • Karma: 0
Thanks very much is perfect.

I'm thinking about js but i think this is the best solution!

Thanks!!!
Gabriele
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.155 Sekunden
Donation Image