Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Dear Krileon,krileon wrote: If you need them stored then ensure cb_total_amount is an integer field and use the Field action in CB Auto Actions acting on the onAfterUserRegistration, onAfterNewUser, onAfterUpdateUser, and onAfterUserUpdate triggers. Next you'll need to toggle on Format Functions under Parameters. Then the following should work.
Field: cb_total_amount
Operator: Set
Value: [cb:parse function="math"][cb_meal1] + [cb_meal2][/cb:parse]
The math format function allows you to use math operators to add, subtract, multiply, and divide.
Please Log in or Create an account to join the conversation.