>>I'd rather have just server side than just client side.

There are things indeed that can only be done on server side, like 
verifying the existance
of some data in a database, but most of the time, data validation can be 
done client side,
and when it can be done client side, it is much better.
Fist it is much faster for the user, then it uses his resources, not 
server's.
You can verify a date is valid, for instance, just as easily in 
Javascript as in CFML.

 >>but no single tag is going to do your client and server-side validating.

Of course not, if there was such a tag, one almost wouldn't have any 
more code to write ;-)
But you can have a tag that generates the Javascript necessary to
do validation client side, <CFFORM and its sub tags is one example,
and do the rest of the validation server side in the action template.

-- 
_______________________________________
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256813
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