Hi,
what is the code for seperate lines. Should cut to next line
Discussion posts and replies are publicly visible
Hi kingsley J ,
You can make use of char(10) to enter next line.
Thanks
a!textField( readOnly: true, value: "Above" & char(10) & char(10) & "below" )
The above code snippet is a small example for next line, hope this helps you.
Supriya
Another small example for next line
a!forEach( items: enumerate(10), expression: "The new number is - "&fv!item&char(10) )
Thank you so much supriya
You can use this site to get Unicode values of any character you are trying to input in your code - symbl.cc/.../
Also note that depending on how you view the rule ouptut, newlines may be flattened. The default, "formatted" option, when the output is plaintext, is particularly bad about showing the actual formatting of the outputted text, sadly.
Now if we switch the output to "Raw" we'll actually get a glimpse of what this text would look like elsewhere (like inserted into the DB, in a paragraph field, etc).
Thank you so much