
question about validating user input
I'd like to get some opinions on ways to validate user input. I have a
window's application with a customer and company class. I need to
verify some of the properies of the class
(FName,LName,CompanyName,PhoneNumber,etc).
Where is the best way to do this? I'm leaning toward doing it all in
the object's class vs. the user interface. Assuming this is the
preferred method, would you do this in a separate class sub or try to
handle it in the get/set property?
Thanks,
Rut