I have a Salary input field in my html form, which accepts a number value and the default is 0. I also have a data validation class which checks if required fields have data.
In my case, Salary is a required field and 0 (zero) is a valid input value. The problem I'm experiencing is, when I get 0 input value for Salary, through the $REQUEST variable, and pass it into my data validation routine, the $REQUEST variable returns null or empty, causing my data validation routine to think that nothing was entered.
So my question is, is there a way to determine if 0 was entered or if the field was left blank?