Skip to main content
aminw4267
Known Participant
December 23, 2024
Question

Request: Simple tooltip formatting bold

  • December 23, 2024
  • 5 replies
  • 1 view

Would be nice if tooltips could have bold text! Pretty basic but useful feature. Makes it easier to scan and read important stuff in the tooltips.

5 replies

ranjiths050336
Inspiring
December 24, 2024

Hi [mention:a3a85602ab3e4915b49a25705271b1df:e9ed411860ed4f2ba0265705b8793d05] ,

It is not possible out of the box.

There is some workaround for this you can construct the tooltip text with unicode. we are using this in our project, and it is working fine. 

source Stefan's Blog: https://appian.rocks/2023/04/17/formatting-labels-in-appian/ 

sample:

/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/Screenshot-2024_2D00_12_2D00_24-at-10.09.12_2F20_AM.png

stefanhelzle0001
Brainy
December 24, 2024

Thanks a lot [mention:b519245be9e647379f99784e26478c7d:e9ed411860ed4f2ba0265705b8793d05] :-)

mikes0011
Brainy
December 24, 2024

My request is for tooltips / captions / mouseovers in general, be upgraded to accept the "a!richTextItem()" object instead of plaintext, though with some obvious caveats (probably can't support links or images, some things dumbed down perhaps, size limits - but otherwise, why not show the rich text item contents as-is?).

The Expression Guru
aminw4267
aminw4267Author
Known Participant
January 28, 2025

Yes, please!

Participating Frequently
January 28, 2025

Hi [mention:a3a85602ab3e4915b49a25705271b1df:e9ed411860ed4f2ba0265705b8793d05] 

Can you try this logic may be it help.

a!localVariables(
    local!lRange: 120302 - 97,
    local!uRange: 120276 - 65,
    a!textField(
      label: "Phone Number",
      helpTooltip: joinarray(
        char(
          a!forEach(
            items: code("Bold Text for ToolTips"),
            expression: a!match(
              value: fv!item,
              whenTrue: and(fv!value > 96, fv!value < 123, ),
              then: fv!value + local!lRange,
              whenTrue: and(fv!value > 64, fv!value < 91, ),
              then: fv!value + local!uRange,
              default: fv!value
            )
          )
        ),
        ""
      )
    )
  )