Check out the LimeSurvey source code on GitHub!

Line break in ranking type question possible?

More
5 years 2 months ago #70222 by jobst
Hi

I have a survey running at www.barrett.com.au/php/survey/index.php?...11&newtest=Y&lang=en

It has 1 question only and it is a RANKING questionnaire (sales trends survey).

I was wondering whether it is possible to put a line break into a couple of the answers as they are rather long?

I have tried to include "<br/>" but they disappear. I tried to read the documentation and searched around a bit but I couldn't find any answers, but hey that does not mean there aren't any ... i might just use the wrong terms ;-)

I code, therefore I am.

Please Log in to join the conversation.

More
5 years 2 months ago #70225 by Steve01
Hello,

I also tried to do this but it seems HTML within the answer doesn't work at all. "<br/>", "<p>" or even "<b>" change nothing about the way the answer is displayed.
I'm not sure if it's even possible to format text using HTML within a <select>-Tag . Perhaps someone else can provide an answer to this or a possible solution/workaround.

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 2 months ago #70235 by DenisChenu

vierundzwanzig wrote: I'm not sure if it's even possible to format text using HTML within a <select>-Tag .

I m sure is not possible.

Can have a look to this workaround:
docs.limesurvey.org/Workarounds%3A+Manip...ag_and_Drop_Rankings

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 2 months ago #70244 by tpartner

Can have a look to this workaround:

Yeah, that workaround won't let you insert line breaks but you can define the list item widths which will force line breaks.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

More
5 years 2 months ago #70254 by Mazi
The ranking question type will be overworked for the Limesurvey 2.0 version. It will support drag and drop as described in the linked workaround and should be easier to style.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form