Calculation examples

I’d like to see some awesome examples of calculation field here community site.

Best wishes from Finland!

/Sami

4 Likes

Progress bar calculation…

`<progress value="${@Progress/100}"/>`


ProgressBar 1

2 Likes

One more - “add a week to a date field”

date_fns.addWeeks(@Created on, 1)

WeekToDate

2 Likes

Great examples! And my big hello to Finland @samikuivalainen :blush:

Possibly helpful at this point for one or the other is our calculation introduction.
Calculation fields can range from simple additions to custom JavaScript code. Furthermore, the output rendering supports Markdown, HTML, and CSS. Check out more →

1 Like

Here is a favorite of mine for rendering headers.
(note: since we can use HTML this is less exciting)

4 Likes