Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using ConfiForms Rule and the formula like 

Code Block
total=([entry.p.transform(price).join(+)])

to calculate the sum for the order

See more about transform function on Virtual functions page

 

ConfiForms Form Definition
formNameprices

 

productproducttext

pricepricenumber

Rows in prices form

ConfiForms TableView
formNameprices

product

price

 

Try checking the "p" field - the amount is recalculated.

...

ConfiForms Form Definition
formNameusingprices
true

 

pp[12223323|prices|product|true||]smartcheckbox

totaltotalread_only

total=([entry.p.transform(price).join(+)])Set expressionp

Storage format for calculation rule

...