How do I add line breaks to a text area field?

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

User avatar
Vanessa
Forum Admin
Forum Admin
Posts: 34
Joined: Thu Sep 06, 2007 4:23 pm
Location: Sandy, UK
Contact:

How do I add line breaks to a text area field?

#1

Postby Vanessa » Thu Sep 13, 2007 11:03 am

I need to script the addition of line returns to a text area field.

The value of the field is concatenated from address fields and two other fields. The field is mapped to a PDF printing resource field, the idea is to add basic formatting to improve the appearance of the printed form.
0 x

User avatar
Vanessa
Forum Admin
Forum Admin
Posts: 34
Joined: Thu Sep 06, 2007 4:23 pm
Location: Sandy, UK
Contact:

#2

Postby Vanessa » Thu Sep 13, 2007 11:04 am

You need to insert \n \r which represents a return.
0 x


Who is online

Users browsing this forum: No registered users and 10 guests