Ajax validation in Yii2

category:  Yii2.0 framework

Yii version 2.0.13.1  When you are working on a form validation, sometimes it is better for the users if you do the Ajax validation on a form. This way, users will get the warning message after they fill in each field. Here is an example. We have a branch table. We want a branch name to be unique. What we will do: Model – In a branch model, we set the branch name in a unique rule. View – In … Read More