Maybe I'm wrong for viewing it this way, but I don't consider
the cfqueryparam as part of my user-engaging validation.

If I write my server-side validation (the part that does inform
a user that an address is syntactically incorrect) correctly,
then there shouldn't be any problem with it passing
cfqueryparam's requirements.


-----Original Message-----
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 16, 2007 3:58 PM
To: CF-Talk
Subject: Re: Client-side validation or Server-side Validation?

Les Mizzell wrote:
>> If you need an extra layer for this, your server-side layer is broken.
> 
> cfqueryparam isn't going to redirect the user back to the form and say 
> "Hey idiot, your email address is REQUIRED".
> 
> What am I missing?

cfqueryparam is also not going to validate that the data the user 
entered in the field for an email address is a syntactically correct 
email address. You need that other layer anyway.

Jochem



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275480
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to