Form validation ensures that each and every field in the form has been filled in the required way. No further prelude is required to this topic as Developers would be well aware about the purpose and function of form validations. In one of my bygone projects, I had a claim to validate a form with AJAX which I did successfully.
I found less online reference while trying to achieve the purpose, hence thought of leaving a path to others so that this can be used as a reference, The following steps should be used to validate your Yii form using AJAX.,
Every project is unique and has something new to learn. This fact was realized again in my recent work. As the title says, the task was as simple as adding AJAX validation to a specific field (not for the entire form). While this looked pretty easy at first glance but had to perceive and apply a little crux of Form and Field API.