[solved] how to customise required validator error message?

hi there,

do anyone how to customise array('firstname', 'required'); error message without having to code another function specially to do required validation.

might there be:

example:

array('firstname', 'required', 'errorMessage' => 'not filled');

thanks.

Close :D. But better try this:

<?php


array('firstname', 'required', 'message' => 'not filled');


thanks.