[Extension] EActiveForm

This extension just extend from {link: CActiveForm} using few codes, it enhances the ajax validation.

  • Submit a list of changed attributes to php backend, then can access the attributes list in Controller via $_POST[‘attributes’][‘ModelName’] and verify these attributes only.

See my another post:


But now I put this functionality into the EActiveForm, and need not modify the core javascript jquery.yiiactiveform.js

  • First to do client-side javascript validations before submission of ajax, and js validators converted from {link: CValidator} automatically.

Using this extension is same as original CActiveForm.

See extension page:


Supported Validators: