- Posts: 21
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
The question and the answer on a single line
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
3 years 8 months ago #202613
by Retail1820
The question and the answer on a single line was created by Retail1820
Hello
I write from Madrid.
I work with LimeSurvey version 3.22.24.
I have one doubt:
How can I put the question and the answer on a single line when both are short?
Thank you very much.
I write from Madrid.
I work with LimeSurvey version 3.22.24.
I have one doubt:
How can I put the question and the answer on a single line when both are short?
Thank you very much.
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12791
- Thank you received: 3941
3 years 8 months ago - 3 years 8 months ago #202617
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic The question and the answer on a single line
Hi, what type of question are you talking about?
Without an example of what you want to achieve it is difficult to anser.
In questions of type "short text" you may use the prefix option
and in "multiple short text" use the settings "label column width" and "text input width"
Joffm
Without an example of what you want to achieve it is difficult to anser.
In questions of type "short text" you may use the prefix option
and in "multiple short text" use the settings "label column width" and "text input width"
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 8 months ago by Joffm.
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202619
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
Thank you, Joffm.
the question type is "Free short text".
I want to put the answer box on the same line of the question, without repeating the name of the question. I can't get to the examples that you have sent me.
Regards
the question type is "Free short text".
I want to put the answer box on the same line of the question, without repeating the name of the question. I can't get to the examples that you have sent me.
Regards
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12791
- Thank you received: 3941
3 years 8 months ago #202622
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic The question and the answer on a single line
Hi,
at least you should have attached a screenshot of your result.
So we see what you are missing.
Joffm
at least you should have attached a screenshot of your result.
So we see what you are missing.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 8 months ago #202638
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic The question and the answer on a single line
No perfect : add Class name fifty-fifty to the question
in custom.css
in custom.css
Code:
.question-container.fifty-fifty{display:flex} .question-container.fifty-fifty .question-valid-container{display:none} .question-container.fifty-fifty .question-help-container{display:none}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202690
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202691
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
Hi Denis
Thank you very much.
I don't know about the "CSS Classes" feature, but I will read the manual to learn how to use it.
Regards
Miguel
Thank you very much.
I don't know about the "CSS Classes" feature, but I will read the manual to learn how to use it.
Regards
Miguel
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12791
- Thank you received: 3941
3 years 8 months ago - 3 years 8 months ago #202695
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic The question and the answer on a single line
Well,
you have to do it the other way.
No question text, don't show question number/code.
And hide the "question-title-container" and the "question-valid-container" as Denis showed (the universal way)
A short way - if you only need it for one or two questions - is to enter into the question text
Joffm
you have to do it the other way.
No question text, don't show question number/code.
And hide the "question-title-container" and the "question-valid-container" as Denis showed (the universal way)
A short way - if you only need it for one or two questions - is to enter into the question text
Code:
<style type="text/css"> .question-title-container, .question-valid-container, .question-help-container { display:none } </style>
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 8 months ago by Joffm.
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202699
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
Thank you very much, Joffm.
I followed your instructions, applied your script in the name of the question and managed to hide it in the question view. It's going to come in useful in a certain question.
Denis
I' m sorry, I put your script in the CSS_Class box, then in the question title, but in no way did I achieve the goal I was looking for. I have searched the Internet for information about CSS_Class, but my knowledge is very insufficient to develop a script and apply it.
Anyway, thank you very much.
Regards
I followed your instructions, applied your script in the name of the question and managed to hide it in the question view. It's going to come in useful in a certain question.
Denis
I' m sorry, I put your script in the CSS_Class box, then in the question title, but in no way did I achieve the goal I was looking for. I have searched the Internet for information about CSS_Class, but my knowledge is very insufficient to develop a script and apply it.
Anyway, thank you very much.
Regards
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 8 months ago #202709
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic The question and the answer on a single line
No : you add class name in CSS Class box : "fifty-fifty"
And you edit your template to add the part i put
manual.limesurvey.org/New_Template_System_in_LS3.x#Theme_Editor
And you edit your template to add the part i put
manual.limesurvey.org/New_Template_System_in_LS3.x#Theme_Editor
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202763
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
Thank you, Denis.
I'm going to try.
I'm going to try.
The topic has been locked.
- Retail1820
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
3 years 8 months ago #202842
by Retail1820
Replied by Retail1820 on topic The question and the answer on a single line
Hi Denis
The version of LS I have, 3.22.25, does not yet have core themes for survey questions (I show you a screenshot). I can't extend any question theme to edit it, except that there is another way to do it, but I don't know it.
Regards
The version of LS I have, 3.22.25, does not yet have core themes for survey questions (I show you a screenshot). I can't extend any question theme to edit it, except that there is another way to do it, but I don't know it.
Regards
Attachments:
The topic has been locked.