Sounds good, Ian...

Maybe someone's heard of something like that.

Use CF as the basis for validation, then if JS is on,
generate some JS client-side validation code and
use CF for server-side.

If JS in not on, just use CF validation, both client-
and server-side...

Is there a fool-proof way to determine whether or not
someone is using JS?

Rick

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 1:55 PM
To: CF-Talk
Subject: RE: Client-side validation or Server-side Validation?

But now what I need to know is how to go about using
dual validation...


I have nothing specific to which to point you.  But the idea that came
to me while I was skimming this thread is that CF is very good at
creating dynamic JavaScript to be sent to the client.  

In other words, I would think it should not be too hard, and likely
something like this exists in some framework or library out there, to
create code that will use a set of validation rules to both validate
data on the server and create the appropriate JS to be sent to the
client for user side validation either stand alone or with AJAX style
functionality when warranted.




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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

Reply via email to