I am assigned to adding validation to our project. It is a web application for internal use in small companies and we are selling the package requiring javascript. Our forms include customer entry, inventory entry, invoice entry, and several number collecting screens. In this stage, we are not sending out e-mails from our system.
That being said, I have several validation patterns for our data collection in javascript:
zip code, e-mail, not empty, only numbers, only numbers and not 0, correct decimal places, password, currency, date, and time.
In PHP I check for uniqueness and if it successfully saved. My question is what else should I be checking for in PHP. What do you normally include when you are adding your validation functions?
I have checked the PHP FAQs and not found any more ideas.
Thanks,
Ann
That being said, I have several validation patterns for our data collection in javascript:
zip code, e-mail, not empty, only numbers, only numbers and not 0, correct decimal places, password, currency, date, and time.
In PHP I check for uniqueness and if it successfully saved. My question is what else should I be checking for in PHP. What do you normally include when you are adding your validation functions?
I have checked the PHP FAQs and not found any more ideas.
Thanks,
Ann