I have three fields quantity
, price
, and total
.
I am only updating quantity
and price
, so total
should be calculated automatically.
How can I make sure total
is always updated correctly? I guess I should use a collection hook.
I have three fields quantity
, price
, and total
.
I am only updating quantity
and price
, so total
should be calculated automatically.
How can I make sure total
is always updated correctly? I guess I should use a collection hook.
Copyright © 2021 Jogjafile Inc.
if you're using autoform and simple schema, just use an autovalue