You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to add new line feed (\n) in Assign statement

edited Nov 29, 2019 9:58AM in Visual Builder 6 comments

Summary

While trying to add "\n" in assign statement, I was not able to get a new line.

Content

My assign statement goes like this :

$chain.variables.test

" Test \n" + $page.variables.testing + " , " + $chain.variables.test

But this seems to not work as I could see \n getting wrapped by another \  as \\n but without any result. I could not find any error as JSON understands this character but it does not print it. It just skips the escape character. How can we escape it in a proper way to get a line feed in the result.

Version

19.3.1.4
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!