How to customize the error message of a validation rule

Comparing #4 with #5

Revision #5 was created by rainyjune rainyjune on Oct 9, 2010, 6:23:43 AM.

update Chinese version link

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://
dreamneverfall.cnprojects.ourplanet.tk/node/106)