Affects Version/s: Master
Steps to Reproduce:
- Add a new Form
- Add 4 numeric fields
- Num1, Num2, Num3, Num4
- Add a 5th numeric field for "Total"
- Save form
- Go to Rules
- Add a new rule:
- If Num1 is not empty
- Calculate (Num1 + Num2 + Num3 + Num4) * 0.25 into "Total"
- Save Rule
- Attempt to Save Form
Form will save or give a helpful error message to the user due to expression being unsupported.
Form fails to save with generic error message, Rule is lost. No error in the console.
The save failure becomes more likely if the user is using multiple fields (3+) combined with static values in the expression.
Examples of working expressions:
Examples of expressions that cause a silent save failure: