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

Mehr
3 Jahre 1 Woche her #133117 von Yka
COM_KUNENA_MESSAGE_CREATED_NEW
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.

LimeSurvey Partners
Mehr
2 Jahre 6 Monate her #141386 von mceconseils
COM_KUNENA_MESSAGE_REPLIED_NEW
Hi,

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

Thanks.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 6 Monate her #141389 von holch
COM_KUNENA_MESSAGE_REPLIED_NEW
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
2 Jahre 6 Monate her #141390 von mceconseils
COM_KUNENA_MESSAGE_REPLIED_NEW
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
2 Jahre 5 Monate her #142775 von imoullet
COM_KUNENA_MESSAGE_REPLIED_NEW
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
2 Jahre 4 Monate her #144041 von imoullet
COM_KUNENA_MESSAGE_REPLIED_NEW
Is this problem solved ? Thanks for any info

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 4 Monate her - 2 Jahre 4 Monate her #144133 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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:
Last edit: 2 Jahre 4 Monate her by tpartner.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
2 Jahre 4 Monate her #144182 von imoullet
COM_KUNENA_MESSAGE_REPLIED_NEW
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
2 Jahre 4 Monate her #144211 von tpartner
COM_KUNENA_MESSAGE_REPLIED_NEW
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
1 Jahr 4 Monate her - 1 Jahr 4 Monate her #160157 von MrVodoo
COM_KUNENA_MESSAGE_REPLIED_NEW
I've the same problem. Unfortunately the template workaround doesn't solve the problem. Do you have any other suggestions?
Last edit: 1 Jahr 4 Monate her by MrVodoo.

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
1 Jahr 4 Monate her #160160 von Joffm
COM_KUNENA_MESSAGE_REPLIED_NEW
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


Volunteers are not paid.
Not because they are worthless, but because they are priceless
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