How to resolve "“The value entered does not match the format of the field [x]”?
I have a PDF form with several computed fields:
Field A (How many people?)
- Input field
- Format : Numeric (whole number)
Field B (How many days?)
- Input field
- Format: Numeric (1 decimal place)
Field C (Total Meal Money)
- Computed (Field A*Field B*30)
- Format: $ with 2 decimal places
Field D (Meal / Person)
- Computed (Field C/Field A)
- Format: $ with 2 decimal places
Field E (Fuel Money)
- Input field
- Format: $ with 2 decimal places
Field F (Emergency Money)
- Input field
- Format: $ with 2 decimal places
Field G (Total Cash Requested)
- Computed (Field C+Field E+Field F)
- Format: $ with 2 decimal places
I also have created a Reset Form button that runs the following JAVA script:
if(4==app.alert("This action will clear all input fields in this form.\nDo you want to continue?",1,2))this.resetForm()
My issue is that I am getting a Warning which says…
“The value entered does not match the format of the field
a) each time I click the Reset Form button
b) when Field A is zero (0) and try to change the value of Field B, Field E or Field F
I noticed that this warning happened when the value of Field A is zero (0).
