How to style numeric questions with suffix like in old version?

Mehr
2 Jahre 3 Monate her #133117 von Yka
Yka erstellte das Thema How to style numeric questions with suffix like in old version?
Hey guys,

sorry for asking so much things, but I need to know a few things..

I did the update to version 2.50+.
After that I've noticed that numeric questions with suffix look different.
Before they looked like this e.g.



In ls 2.50 they are text inputs with 100% width and the '%' is in the next row.
I've changed it so that the input box is smaller and the '%' is in the same row.



But now the output for the same question in version 2.50+ after my changes is like:




Is it possible to have the questions look like the old version?
Label left, text box right

Thank you.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 9 Monate her #141386 von mceconseils
mceconseils antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Hi,

I have the same issue. Is there a solution for this?

Thanks.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 9 Monate her #141389 von holch
holch antwortete auf das Thema: How to style numeric questions with suffix like in old version?
The solution is probably updating, because this issue should have been fixes long time ago.

What is your LS version and which template are you using?

Just tested in the latest release with the Ubuntu Orange template and it works just fine:


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
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 9 Monate her #141390 von mceconseils
mceconseils antwortete auf das Thema: How to style numeric questions with suffix like in old version?
You are right, my issue is with short text answers... Not the same question type! I opened a log in the bug tracker system for it.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 8 Monate her #142775 von imoullet
imoullet antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Hello
I still have the same problem with the last version Version 2.53+161004
Is that solved or not ? I do not find this in the bug tracker

Thanks for your info

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 7 Monate her #144041 von imoullet
imoullet antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Is this problem solved ? Thanks for any info

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 7 Monate her - 1 Jahr 7 Monate her #144133 von tpartner
tpartner antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Yes, it is fixed in 2.55.2.


Looks like it may need some styling though. Maybe something like this at the end of template.css:
.question-item.withprefix.withsuffix input.form-control {
	display: inline-block;
	width: auto;
	margin: 0 0.5em;
}

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Anhang:
Letzte Änderung: 1 Jahr 7 Monate her von tpartner.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 7 Monate her #144182 von imoullet
imoullet antwortete auf das Thema: How to style numeric questions with suffix like in old version?
In fact that does not solve my problem. In my case I use Numerical input question type not multiple numerical input.
Everything is fine for multiple..
Anhang:

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 7 Monate her #144211 von tpartner
tpartner antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Try this for the CSS:

.answer-item.withprefix.withsuffix input.form-control {
	display: inline-block;
	width: auto;
	margin: 0 0.5em;
}

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

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her - 7 Monate 3 Wochen her #160157 von MrVodoo
MrVodoo antwortete auf das Thema: How to style numeric questions with suffix like in old version?
I've the same problem. Unfortunately the template workaround doesn't solve the problem. Do you have any other suggestions?
Letzte Änderung: 7 Monate 3 Wochen her von MrVodoo.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
7 Monate 3 Wochen her #160160 von Joffm
Joffm antwortete auf das Thema: How to style numeric questions with suffix like in old version?
Well, the best way is to use a multiple numeric question with just one subquestion and blank subquestion text.

That's easy, and you do not have to wait for a solution.



Regards
Joffm
Anhang:
Folgende Benutzer bedankten sich: MrVodoo

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha