Polymorph validation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Polymorph validation

Jeff Gray
Just playing with Laurent's example contact manager.
So next logical step - how to validate the fields?
E.g. both first name and surname must have a value.
Is there a method to override? Something I need to implement in the model class?
Got any hints? :-)