Skip to main content

AJAX

validation in yii
Tag(s)

Yii - How to enable Ajax form validation

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.,

Subscribe to AJAX