Answer the question
In order to leave comments, you need to log in
How to properly validate in Yii 1?
Hello. I didn’t quite understand from the documentation how to organize validation in my case. For example, in my view I have a search in a table with cities, and if I keep a city that is not in the database, I need to display an error message. How to implement correctly without breaking MVC ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question