CCompareValidator placeholders?

I cant find the way to display error message like:

'{attribute} and {attribute_repeat} are not equal' via rules() method. I've not found any placeholders for different validators instead of {attribute} (for all validators).

Anybody know does that placeholders exists or i have to find the different way to solve this?

You can't add new placeholders. You can refer to this page to customize your error message, however.

http://www.yiiframew…doc/cookbook/1/

Quote

You can't add new placeholders. You can refer to this page to customize your error message, however.

http://www.yiiframew…doc/cookbook/1/

I’ve done so as it described above in http://www.yiiframew…doc/cookbook/1/

but it seems to be a not very good decision,

looks much better then

Will you add such placeholders in Yii 1.0.5? Would be nice to make such error messages for 'compare' validator…

I just added a placeholder to the error message. The error message itself is not modified, though, mainly to keep BC.