>>Does the JS and CF validation have to be totally independent in 
functionality?

Basically yes ;-)
I mean:
1º Javascript is so useful for so many things, I simply won't let a user 
fill a form if they have Javascript disable, period.
2º the main reason for validating data client side is for the user's 
comfort, so that he can correct mistakes right away
    before submitting the form.
2º Starting for that, once a field has been validated on client side, 
the only reason it could be invalid on the server
    would be because some hacker is horsing around with my system. In 
that case, the only concern is security and
    database integrity, and I don't see why I should give detailed and 
polite notice about what he is doing wrong.
    CFQUERYPARAM and SQL validation will give me the security I need.

I must also say that in all my applications, forms are mostly used by 
the customer to manage his own data
in his own intranet, and I don't remember any issue when the user tried 
to goof his own system.

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



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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