How to customize the error message of a validation rule

Comparing #5 with #6

Revision #6 was created by Darwin Wen Darwin Wen on Oct 19, 2011, 7:17:31 AM.

Update wrong chinese version url

Content

[...]
```

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)