• Hi there,

    We use the default:get append in certain fields so we can pass data via the URL. The only issue is, when we’re looking to populate a textarea with a postal address for example, the <br> that is seen in the URL does not add a line break to the textarea content. Is there a way to make line breaks work in textarea fields using the default:get function?

    Thanks
    Simon

    • This topic was modified 8 years, 9 months ago by Fabbstar.
Viewing 1 replies (of 1 total)
  • Thread Starter Fabbstar

    (@fabbstar)

    Hi there,

    To elaborate on my issue, in case anyone can help.

    I have the default:get feature within the shortcode of my contact form so I can prepopulate fields by clicking a URL. It works great however I am passing some data to textarea fields and the data has line breaks <br> which are visible in the web address bar however they do not render in the textarea, all of the data just inputs on one line.

    Is there a way of making the line breaks render when the data is past in this way?

    Thanks
    S

Viewing 1 replies (of 1 total)

The topic ‘Line breaks with textarea default:get’ is closed to new replies.