Attributes with multiple lines of text (csv upload)

Mehr
2 Monate 2 Wochen her - 2 Monate 2 Wochen her #187065 von bdeprez
Dear all,

This may be a stupid question but I'm looking for a way to have an attribute contain multiple lines of text, like this:

Line 1
Line 2
Line 3

But Limesurvey requires all data to be on one line:

firstname,lastname,email,attribute_1
John,Doe,john.doe@domain.com,Line 1 Line2

But I need to split the lines at import so they show up neatly on different lines in a question and in the email sent to the participants.

I'm doing the upload through a CSV file generated in a different application and of course, if my csv itself contains multiple lines then the upload fails... I tried adding \n but that didn't do the trick...

Anybody any ideas?
Letzte Änderung: 2 Monate 2 Wochen her von bdeprez.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners
Mehr
2 Monate 2 Wochen her #187066 von bdeprez
And apologies for posting this in the wrong category (just noticed that) - if somebody can move it over to "Can I do this with Limesurvey" then please feel free to

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #187067 von tpartner
Did you try inserting a <br /> tag where you want the line breaks?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #187097 von holch
Like Tpartner. And you could always separate the lines into different attributes as well, then you will have the total freedom of formatting them in the question.

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #187106 von bdeprez
It took me the best part of yesterday to overcome the shame of not having thought of the <br> :laugh: :laugh: :laugh:
But it was indeed the right answer...

@holch - I can't use multiple attributes as the number is variable...

Thanks!
B.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her - 2 Monate 2 Wochen her #187107 von tpartner
Forest for the trees... :)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
Letzte Änderung: 2 Monate 2 Wochen her von tpartner.

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

Mehr
2 Monate 2 Wochen her #187108 von holch

@holch - I can't use multiple attributes as the number is variable...


Makes sense.

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

Bitte Anmelden oder Registrieren um der Konversation beizutreten.

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