Yii Framework Forum: [Extension] EActiveForm - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Extension] EActiveForm Enhanced CActiveForm to do client-side validation automatically Rate Topic: -----

#1 User is offline   hightman 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 44
  • Joined: 23-August 09

Posted 13 November 2010 - 01:17 PM

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:
http://www.yiiframew...-of-activeform/
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:
http://www.yiiframew...on/eactiveform/
0

#2 User is offline   hightman 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 44
  • Joined: 23-August 09

Posted 13 November 2010 - 01:55 PM

Supported Validators:
'CRequiredValidator','CRegularExpressionValidator',
'CEmailValidator','CUrlValidator','CCompareValidator',
'CStringValidator','CRangeValidator','CNumberValidator',
'CBooleanValidator'
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users