Beast Mode

Beast Mode

Beast Mode Summary Number HTML for filled Gauge

Hi All,

Reading other post, it appears you can format summary numbers via beast mode. I have done so and my beast output for my number is correct but it is stripping out my style tag when implementing. I can change the span to a div or other html element and I can see that reflected in the UI but it always removes my style tag. This is for a filled gauge if that makes a difference

Beast Mode Calc.

CONCAT('<span style="color: ##004387; font-size: 32px; font-weight: bold;">', Percent Scheduled Before Discharge - Goal, '</span>')

End Result when inspecting element:

<span>My Number Here</span>

Any tips on what I am doing wrong here?

Best Answer

  • Answer ✓

    Have you saved the card and viewed it on the page? I can't see any HTML styling in the analyzer, but I can when the card is displayed. I was able to get your beast mode to format a summary number:

    Please 💡/💖/👍/😊 this post if you read it and found it helpful.

    Please accept the answer if it solved your problem.

Answers

  • Answer ✓

    Have you saved the card and viewed it on the page? I can't see any HTML styling in the analyzer, but I can when the card is displayed. I was able to get your beast mode to format a summary number:

    Please 💡/💖/👍/😊 this post if you read it and found it helpful.

    Please accept the answer if it solved your problem.

  • Thanks David. That was exactly what was happening. I was not seeing it reflected in the analyzer so I never saved it to view the displayed card.

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In