> A good reason to upgrade, Rick!

jQuery is cheaper! (And I'm learning JS, too!)

Still holding out for CF 8...

Rick

-----Original Message-----
From: Josh Nathanson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 2:21 PM
To: CF-Talk
Subject: Re: Client-side validation or Server-side Validation?

> 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.

This doesn't address exactly what you're proposing Ian, but this already 
exists in CF for client side at least: cfform/cfinput.  If you already have 
your server side validation set up, you can just add on cfform/cfinputs to 
get the client side validation you need (in most cases anyway).

Only available cfmx 6.1+ I think, but this is definitely the easiest way to 
get client side validation if you're not too comfortable with javascript.

A good reason to upgrade, Rick!

-- Josh




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:275616
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