Using Q_PopulateResponse on multi-line text questions | XM Community
Skip to main content
I'm trying to pre-populate a survey form using Q_PopulateResponse. I've managed to wrestle the single line questions, dates, and emails addresses into working but multi-line fields have defeated me and there's no example in the FAQ on the Embedded Data page.

I can send a single line of text and I presume if the line is long enough it'll simply wrap onto subsequent lines. However, I'm trying to display an address and want line breaks to display a normally formatted address over 4-6 lines. I've tried encoding various combinations of %0A and %0D but anything that (should) provide a NewLine, breaks the whole process.

Any suggestions please?
Did you try `\\n` or `\\r`?
I didn't but I have now - either works. Thanks Tom.



I was surprised that the URL is happy to have the '\\' embedded but it is. I'm just operating at the limit of my understanding I guess. Thank you again.

Leave a Reply