Hey Guys,

 

How is everyone handling their form validation in MG? Before I moved to the
framework I had a CFC that contained a bunch of validation methods, It was
originally built by Javier Julio and was perfect for my requirements, as
pre-processing the form I could pass the values into the corresponding
validation methods such as isEmail() and it would check them for me, passing
back an error if it didn't validate.

 

When should I be handling validation? In the model? or controller? And how
should I deal with error messages and passing the user back to the form if
any are present?

 

Thanks again chaps,

 

Rawlins



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