Hi all I have a form containg three columns (each column data are given using microflow), two for shifts and one for total. Form contains Save button also. I have on each shift field microflow, which on onLeave event recaluculates totals. Problem is when user do not switch to next field then the update microflow is not called. So I created microflow button which recalculates values and saves data. As you can see on related picture. If I enter 15 and hit save it takes 0 value (because is not stored yet in DB) and the total is wrong. I put there update microflow on each shift field which saves values on event onChange. Then If I hit microflow save button it stores new value and make recalculation. Problem is that this works fine only on my localhost. If I am testing it on cloud portal, it sometimes save entered values sometimes not. Random behaviour :(( my form: http://ScrnSht.com/xzbftr Can anybody help me? Regards, Lukas
Why use an onleave action and not an on change action? On leave actions can be quit tricky.
It was because of counting totals after each control change. But as I can see now, with only on change handler it works. Thanks.