archer

Is there a function in Archer that could draw a line separating two outputs in a single field?


I am trying to concatenate 2 outputs in calculated text field. But I would like to draw a line in between them or at least give them a heading, so that the users will be able to identify them easily. I could make different fields and have them calculated. But the requirement is to concatenate 15 fields into one field. So, I do not want to create 15 fields and write separate calcs. See below example

Example 1)

Hello, this is an example of what I am trying to explain with an example (o/p 1)

Hello, this is how I would like to present to the end users avoiding confusion (o/p 2)

As you see above, I was able to concatenate 2 o/p's, but I would like to draw a line. This one scenario that would work for me.

Example 2)enter image description here

Users Watch Hello, this is an example of what I am trying to explain with an example (o/p 1) Admin Watch Hello, this is how I would like to present to the end users avoiding confusion (o/p 2)

As you see in 2nd example, I would like to put a heading for o/p 1 as "users watch" and "Admin Watch" for o/p 2, so that the users can differentiate it.

I have tried sub-string function for example 2, it looks 'OK' but it would be of more help if anyone has better solution.


Solution

  • The beauty of Archer is that you can use HTML in the calculation; providing that the calculated field is a text field and that its display is set as text area.

    You can use the following calculation:

    CONCATENATE("<H3>Header 1</H3>", [Field 1], "<H3>Header 2</H3>", [Field 2])