Avatar

Level 4

I have a field that the user chooses as either a percentage of their income, or as a dollar amount. Based on what they choose, I'm using actions to show/hide the unchecked field. When using the percentage, it takes the annual salary that they input and divides it by the percentage they input, and displays that dollar amount in another field. Problem is I get an "arithmitic over/underflow" error. And it also seems to be keeping the values, ie; if I select "Dollar" and input an amount, but then uncheck "Dollar" and selet "Percent", it keeps the dollar amount in the equation. Hope that makes sense.

UPDATE:

Upon thinking further, if I could just have it to where if I was to input a value into the percent box, and there was a value present in the dollar field, it would delete the value from dollar and vice versa that would be great!

UPDATE 2:

I have the previous issue solved, but I get the following errorCapture.PNG

The only thing I can think is that by default, I have the anualSalary field set to a default of $1.00. It does the calculation correctly, but I keep geting that error. Any ideas?