Using Q_PopulateResponse on multi-line text questions | XM Community
Skip to main content
Solved

Using Q_PopulateResponse on multi-line text questions

  • April 29, 2019
  • 2 replies
  • 26 views

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?

Best answer by TomG

Did you try `\\n` or `\\r`?

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6083 replies
  • Answer
  • April 29, 2019
Did you try `\\n` or `\\r`?

  • Author
  • 1 reply
  • April 29, 2019
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.