Add Line Breaks to Concate

I am using Sugar On Demand Pro. I have the ability to create calculated fields for a text area I am working on. I want to know how I can create line breaks between items.
Here is an example:
concat($first_name_c," ",$last_name_c)

I wish for the result to be as :
John 
Doe

I have tried basic php and html in there, but I just can not seem to break lines. Any suggestions on how to get that in there?
Parents
  • I originally tried both the above, and I gave it another shot.
    the <br/> gets stripped by the formula builder. I feel like this is the right idea, I just need to figure out the correct syntax.

    Here is what I tried with no success:

    concat($first_name_c,"<br/>\r\n",$last_name_c)
    concat($first_name_c,"\r\n",$last_name_c)

    I tried the same variation with createList ( instead of concat.

    I also tried two lines, like this, but the editor shows error and will not save.
    concat($first_name_c)
    concat($last_name_c)
    If this could be made to work, I can settle with this idea to create two lines.
Reply
  • I originally tried both the above, and I gave it another shot.
    the <br/> gets stripped by the formula builder. I feel like this is the right idea, I just need to figure out the correct syntax.

    Here is what I tried with no success:

    concat($first_name_c,"<br/>\r\n",$last_name_c)
    concat($first_name_c,"\r\n",$last_name_c)

    I tried the same variation with createList ( instead of concat.

    I also tried two lines, like this, but the editor shows error and will not save.
    concat($first_name_c)
    concat($last_name_c)
    If this could be made to work, I can settle with this idea to create two lines.
Children