Avatar

Level 2

Thanks Paul. Having the field set to accept Rich Text, doesn't allow control of font in a consistent manner. I switched back to Plain Text.

Could you please tell me how to add a new line in a Plain Text field? I did an export of the form and found that 
 is used as the new line character.

When I add a new line character, the text appears as is (dave
rita, instead of dave in one line and rita in the next line). I guess the characters are not recognized.

Here's what I'm doing:

var str = field1.rawValue;

//logic to check if the length is more that 65 characters. This result is an array with strings less than 65 characters

//finally I join the strings

field1.rawValue = lines.join("
");

I tried to escape characters and such but no luck.

Thanks,

RT