Client-only validation can be fine if the user is known and accountable. If
you "know" that they won't turn scripting off or send bad data to your
non-validating server and that this won't in turn corrupt your database or
create an unstable or insecure environment. If you "know" all of these
things then I'd say, go for it and don't use and server-side validation. The
only time you will begin to approach this condition is in a line of business
application or, big maybe, an intranet.

Steve

-----Original Message-----
From: Scott, Andrew [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 20, 2000 8:01 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Peventing Inserting only Blank Spaces in Form Field


Why are people so quick to offer client-side validation, can anyone see why
we should NOT do client side validation or are peoples minds closed to this.



-----Original Message-----
From: Shane Witbeck [mailto:[EMAIL PROTECTED]]
Sent: 20 August 2000 01:00
To: [EMAIL PROTECTED]
Subject: RE: Peventing Inserting only Blank Spaces in Form Field


I may be misinterpreting this question but preventing blank spaces should
not be an option. Instead use client side validation (Javascript) or
post-processing (CF code) to take care of the fields that were not filled
out by the user.

Sincerely,

Shane Witbeck
Webmaster
mailto:[EMAIL PROTECTED]
www.digitalsanctum.com



----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to