|
I agree. To lessen network traffic as much validation as possible should be done in the browser so that each event is checked. There are at least a couple of ways to do that. One is with script, the other is to validate onblur or onchange with a form submit into an iFrame. Using the latter, a common validation routine can verify that the input for the field is correct and respond to any errors as they're made instead of submitting the full form and then seeing every error on the form. Validation can be done on the server but I'd rather have it done as data is entered than validating every input on the form after submit. ----- Original Message ----- From: Raul A. Jager W. <mailto:raul@xxxxxxxxxx> To: Midrange Systems Technical <mailto:midrange-l@xxxxxxxxxxxx> Discussion Sent: Wednesday, March 15, 2006 2:43 PM Subject: Re: date validate I belive that validation *must* be made in the server, and it is very convinient to do it also in the browser, javascript is an exelent tool for that. Also, javascript can help filling the form, suplying reasonable defaults and offering dinamic options. BUT the validation in the browser is easy to disable, so, it is mandatory to validate in the server. Michael_Schutte@xxxxxxxxxxxx wrote: >I'm out of touch with web-based programming, but I seem to recall that you >can verify that the browser if java-scripted enabled before continuing. >Again, don't get me wrong, I'm not suggesting that you don't validate >behind the scenes. > >I was only pushing to use the functions that are made available to you >instead of "re-inventing the wheel". Nothing to do with design but to use >the tools that are made available to you. > >Michael Schutte >Work 614-492-7419 >email michael_schutte@xxxxxxxxxxxx > > > > "Goodbar, Loyd > (ETS - Water > Valley)" To > <LGoodbar@borgwar Midrange Systems Technical > ner.com> Discussion > Sent by: <midrange-l@xxxxxxxxxxxx> > midrange-l-bounce cc > s@xxxxxxxxxxxx > Subject > RE: date validate > 03/15/2006 11:13 > AM
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.