How could you display validation error messages in forms when there is no validator and you don’t want to write one, for example you dont want to write a generic unique validator for multi columns, but display the message in a way like when you would have used the validator?
Another way (the one I use the most) is to create a try catch scenario. When my custom validation fails, I throw an Exception or CException and on catch I render a custom error view.