I quite agree - server-side is the end-all of form validation. However, I do
think javascript validation has its place: as a courtesy to the user.
This adds workload and maintenance, but if you're keeping usability
(user-friendliness) in mind, while not strictly necesary, client-side on top of
server-side validation is a courtesy folks will appreciate. And, as Jake has
demonstrated, while it can be bypassed, there's little harm that will come of
it.
Great article Jake. (Send it to me for proofing next time in advance of
publishing ;-) )
Hey Dave,
I quite agree - server-side is the end-all of form validation. However, I do think javascript validation has its place: as a courtesy to the user.
This adds workload and maintenance, but if you're keeping usability (user-friendliness) in mind, while not strictly necesary, client-side on top of server-side validation is a courtesy folks will appreciate. And, as Jake has demonstrated, while it can be bypassed, there's little harm that will come of it.
Great article Jake. (Send it to me for proofing next time in advance of publishing ;-) )
Jerry