How to get the value (with line breaks) of a multiline text field?

Sascha Ziemann January 17, 2021

I use the function getCustomFieldValue to read the value of a multi-line custom field. But when I use toString() on the return value, the line breaks disapear. The string contains just spaces.

How can I preserve the line breaks?

1 answer

1 accepted

0 votes
Answer accepted
Sascha Ziemann January 17, 2021

Line breaks are there. It was just a display error.

Suggest an answer

Log in or Sign up to answer