The value entered does not match the format of the field
I am trying to calculate a percentage (LOAN TO NET WORTH RATIO) and with the help of these forums and google, I found a script which calculates correctly however the form user will get an error message “The value entered does not match the format of the field [Loan to Net Worth Ratio]”
The user can click OK to bypass the message and continue but obviously this is not ideal.
The script I am using is:
var a =this.getField("A");
var b =this.getField("G");
event.value=(a.value/b.value:
The A field = LOAN AMOUNT which is a sum of all of the assets that are filled in the to appropriate asset section. The G field = TOTAL NET WORTH which subtracts the total Assets from the TOTAL LIABILITIES field.
I have searched and searched these forums and tried many different javascripts but I can't seem to figure out how to fix. If anyone is able to assist I would be most grateful.
Thank you!
Mandy
