
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 01:53 PM
HI Coding Guys ... just an easy one I hope ...
Want to full a description field by using values of different fields ... so I need linebreaks.
new_description = ("Label 1: " current.field1+ LINEBREAK +"Label 2: " current.field2 + LINEBREAK + ...);
The new_description field is rich text .. so if we could also BOLD the Labels ... that would be cool 😉
Thank you!!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 02:22 PM
new_description= ("<b>Label1: </b>"+current.u_lable1+ "<br><b>Lable2: </b>"+current.u_lable2);
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 01:58 PM
Have you tried sending in an encoded newline character?
new_description = ("Label 1: "+ current.field1+" \n Label 2: " current.field2 + "\n"+ ...);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 02:04 PM
Try below
new_description = "<b>Label 1: </b>" current.field1+ "\n<b>Label 2: </b>" current.field2 + '\n';
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 02:18 PM
BOLD works .. not the linebreak does not ... trying:
new_description= ("<b>Label1: </b>"+current.u_lable1+ "\n<b>Lable2: </b>"+current.u_lable2); |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2017 02:22 PM
new_description= ("<b>Label1: </b>"+current.u_lable1+ "<br><b>Lable2: </b>"+current.u_lable2);
Please mark this response as correct or helpful if it assisted you with your question.