• Resolved diegora

    (@diegora)


    I’m using Query Strings to pre-populate fields, filling the Default Value of the field like this
    {query_var key="name-field"}
    pretty straight forward.

    But now I want to populate Paragraph Fields also, with line breaks, but I can’t manage to make it work.
    I can pass the “space” char with %20, so SPACE%20HERE will show in the Paragraph field as SPACE HERE, no problem. But I can’t seem to pass a new line char. %0A and %0D doesn’t work.
    How do I pass a line break char to a Paragraph Field via Query String?

    • This topic was modified 2 years, 9 months ago by diegora.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @diegora,

    Thanks for contacting us!

    I just tried in my setup and using %0A or %0D should work to add a line break in the Query String to the Paragraph Text field. Here is an example.

    So when you get the chance, can you please try the http://test.com?wpf20_1_subfield=value format as your query string just like what is shown in this tutorial?

    I hope this helps.

    Thread Starter diegora

    (@diegora)

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Pre-population a “Paragraph Text” field with line breaks.’ is closed to new replies.