>Thanks Jake, Casey. For those savvy (or even malicious) enough to find a
>workaround to your js validation, users can easily disable Javascript once
>the page has rendered the form, without refreshing the browser.  So there'd
>still be a need for either a cf-side post validation or a
>is-javascript-enabled check on the processing page.

One idea is to find a way to access your server side validation functions with 
"AJAX!(tm)(c)", which is actually pretty trivial, even without using a 
framework of some kind. That way you only have to write your validation code 
once, and every input or whatever uses standard js - think 
serverValidate(this). And if your users don't have js enabled, you fall back to 
the exact same validation code running on the server.

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