View Categories

Error in form calculation when submitted from the mobile application

< 1 min read

Issue: A form is incorrectly calculating a value of field, when submitted from the mobile application while the same is calculating effectively in the web application.

In web application:
Preview

Value when calculated in Mobile application:
Preview

Solution:
In Mobile, we run rules on characters change. And since we are reading and writing into the same field. If the initial value is 95300 so on adding 1000 discount it is rule is changing value for every char entered in discount field
And as per rule it is giving:
50000 – 1 = 49999
49999 – 10 = 49989
49989 – 100 = 49889
And finally 49889 – 1000 = 48889

So please avoid reading and writing same field. Instead use another hidden field which holds actual Final amount and use that in calculate rule.

Developer ticket for reference: #1435668

Scroll to Top