Difference between #5 and #6 of
How to customize the error message of a validation rule

Revision #6 has been created by Darwin Wen on Oct 19, 2011, 7:17:31 AM with the memo:

Update wrong chinese version url
« previous (#5) next (#7) »

Changes

Title unchanged

How to customize the error message of a validation rule

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
```

In the above, the customized error message contains a predefined placeholder `{attribute}`. The [CRequiredValidator] (whose alias is `required`) will replace this placeholder with the actual attribute name that fails the validation.

### Links
[Chinese version](http://
projects.ourplanet.tk/node/106www.itkuaixun.com/bbs/thread-191-1-1.html)
13 0
14 followers
Viewed: 145 818 times
Version: 1.1
Category: Tutorials
Tags:
Written by: qiang
Last updated by: Yang He
Created on: Feb 4, 2009
Last updated: 12 years ago
Update Article

Revisions

View all history