Text area - Field type for New property

contacts

#1

I am looking for how we can accommodate in multiline text with new line.
Please see this thread: https://community.hubspot.com/t5/CRM/Text-area-Field-type-for-New-property/m-p/14050
How can we populate data like this: http://i.prntscr.com/514340f25ceb4ec78dee89e57ed70315.png in a multiline text? Please advise.

Thanks in advance.


#2

Hi @Shyam_Krishna

You’d need to use a newline character to insert a line break.

If you’re using the Contacts API, you’d use \n:

{
  "property": "multiline",
  "value": "This\nhas\nmultiple\nlines."
},

If you’re using the Forms API, use %0A

&multiline=This%0Ahas%0Amultiple%0Alines.

Both of those would appear in HubSpot as

This
has
multiple
lines.