Skip to main content
Nintex Community Menu Bar
Question

Perform math in a template

  • July 9, 2024
  • 5 replies
  • 21 views

Forum|alt.badge.img+17

So I have created models with conditions to filter out records based on values in certain fields. Then I use something like: {{$Model.MODELA.data.length}} to display a count of the records in a template. I would like to add this count to the count of another model. So in non-programming terms it would look something like this: {{$Model.MODELA.data.length}} + {{$Model.MODELB.data.length}} Is it possible to add these two results together in a template? Thanks!

This topic has been closed for replies.

5 replies

Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

That is not possible in a template.  Sorry. 
Today - you’ll have to write a short javascript snippet to do that calculation.  See this tutorial:  http://help.skuidify.com/m/supercharge-your-ui/l/153540-highlighting-critical-data-using-templates-a…

In our next release we will be providing more options for simple calculations in client side fields.  Stay tuned for release news… 


Forum|alt.badge.img+20

I’ve been tuned in foreeeeeever!

Client side fields!!! Me likey. Cmon cmon cmon!


Forum|alt.badge.img+18

Really can’t wait for this… Client side fields will be totally awesome for the reports we’re developing right now.


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

Oh yes! 


Forum|alt.badge.img+17

Is it part of this: “tons of updates and features in Skuid Banzai.”