How about passing data to a textarea field that needs new line character

  • nationwidedm
    Answered on July 11, 2012 03:11 AM

    How about passing data to a textarea field that needs new line characters?

  • Jonathan JotForm Support
    Answered on July 11, 2012 06:11 AM

    Hi,

    Can you please provide us more details on what you want to achieve on the form?

    You can pre-populate a text area using the method explained in the guide... but what do you mean by 'needs new line character...'

    Will await your response.

    Thanks.

  • nationwidedm
    Answered on July 11, 2012 11:43 AM

    I'd like the text within the textarea box to be separated by newline characters

     

    I know that I can space the data like this ?fieldname=item1%20item2%20item3

     

    but that would just put them all on the same line, I'd like the textarea to be prefilled and looking like this:

     

    item1

    item2

    item3

     

    (multiline textarea box)

  • NeilVicente
    Answered on July 11, 2012 12:02 PM

    @nationwidedm

    Use %0A to add a line break to the value you want to prepopulate a field with.

    For more URL encoded characters, please visit the link below

    http://www.degraeve.com/reference/urlencoding.php