[Jhs-leads] Input form validation
Kirkpatrick, Ivan
Ivan.Kirkpatrick@dep.state.fl.us
Fri, 18 Mar 2005 09:44:10 -0500
Most projects that incorporate some kind of user input should be doing
validation of that input in order to reduce the chances of the users
inputting data in the wrong formats.
This link is to a web page that includes validate.js and instructions on =
it's
usage. http://webcoder.info/downloads/validate.html
I strongly suggest that this be a part of each project. By doing so we =
are
reducing the network traffic because this validation is performed on the
client. Good J2EE practice is to validate the data input again on the =
server
side before sending it to the database.
Many of you may be aware of the problems associated with incorrectly
formatted data in the databases and how much effort is going into =
cleaning it
all up. These are the beginning steps in reducing this problem.