ย ยทย I make my own rules

Update text on change

Resolved

I have this page that does a bunch of calculations using code expressions and custom functions. One of the code expressions is of the Grand Total at the end which is being computed by 3 inputs - Total (another code expression of a sub-calculation), two page state variables which are totals of a list of values. (attached screenshots might help explain this better)

My problem is when a user deletes a sub a value from the list that results in the updation of the above total (from the page state), my Grand Total value does not get updated. How do I make this update upon deletion of the sub value?

In my screenshot below, Penalties and Rewards are the two lists of values and their total is being stored in a page state. When a user clicks on the delete button, actions update the page state value but the Grand Total does not get updated. All other values are fixed so they will not be modified by the user, user can only add new penalties/rewards or delete existing ones (or newly added ones)

Thanks for you help !

P.S. - I even tried setting Grand total as a page state but even that is not updating

1
10 replies