Rick,

>I've got solutions that use only client-side validation, but it seems
>that the discussion everyone's having always comes back to needing
>server-side validation to backup client-side.

Which is true.

>Seems to me that it's a lot less work to just integrate the two.

Which is false. You're adding a lot of complexity and points of failure and
add a lot of load to your server that's unnecessary. 

>I mean, if I'm going to have to validate client-side whether or not a
>name is entered in a field, then turn around and validate the data
>using server-side CF, that seems to add *more* complexity to the
>code and the work of the server.
>
>Why not just do both at once?

You're actually adding more complexity to your code trying to make the
server-side do all your validation for you. 

The point is there is plenty of stuff out there that does all the heavy
lifting in the client side for you. Anyone with a working knowledge of JS
could use one of the many JS Form libraries out there to add pure
client-side validation to a form in minutes.

Using Joern's jQuery Form validation, you should be able to apply basic
validation to your form in minutes. Instead of starting big, start small.
Try to really understand what the code is you're writing is doing.

-Dan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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