Attributes with multiple lines of text (csv upload)

Plus d'informations
il y a 1 mois 3 semaines - il y a 1 mois 3 semaines #187065 par 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?
Dernière édition: il y a 1 mois 3 semaines par bdeprez.

Connexion ou Créer un compte pour participer à la conversation.

LimeSurvey Partners
Plus d'informations
il y a 1 mois 3 semaines #187066 par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 semaines #187067 par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 semaines #187097 par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 semaines #187106 par 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 semaines - il y a 1 mois 3 semaines #187107 par 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
Dernière édition: il y a 1 mois 3 semaines par tpartner.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 1 mois 3 semaines #187108 par 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

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!