I have a form where the user is required to enter two values (A and B) in order to perform a calculation. Problem is, the calculation is A/B, so when they enter Value A, an overflow error message immediately pops up on the form (because it is trying to divide by zero).
What is the script so that the error message does not appear, so the user can enter both A and B values without the overflow error immediately appearing upon entering value A?
you can wrap your script into an if expression.
if (valueA ne 0 and valueB ne 0) then valueA / valueB endif
Thanks, I did finally figure it out, and your way works fine. The way I found is
if (valueB ne 0 & HasValue (valueB)) then