You need to sign in to do that
Don't have an account?
Collaborative e
Add default text to Long Text Area field with line breaks
I am attempting to add default text to a long text area field that is broken up into sections (paragraphs). I've tried using the BR() function but it doesn't render as a break in a a default value function. Any ideas?
Use this formula in the 'Default value" of the Long Text field and you should get a line break between the text 'abc' and 'xyz'.
"abc" & BR() & "xyz"
I tried that @forecast but it came back with the following result in edit mode:
abc_BR_ENCODED_xyz
Using forecast's structure, with separate quote-delimited strings concatenated to the BR() function, I get the expected result. of the text on different lines. Can you paste the formula you tried that gave you the undesired result?
Ditto to @thomast. I tested the formula that I had posted in a Developer Org and it got the desired result. Can you please retest Collaborative E and confirm?
"abc" & BR() & "xyz" this is correct formula for line break in long text area field. I have tested this and find it working fine.
"abc" & BR() & "xyz" with this in the salesforce field it will show with line breaks which is fine , when i used the same field in the visualforce page it is not showing the way you told
“Partner Name – Transform” & BR()&
“Product - Transform Foundation Server Deployment” & BR()&
“Then click on License Options” & BR() &
“Do not update the following generator fields: Issue Date, Max. Concurrent Formscape Designers, Max. Runtime Servers, All Type fields, and Enterprise License.” & BR() &
“Unused generator fields are not included in layout. Please skip them."