Hi,
Presuming ‘allowEmpty’ => FALSE rule failed to validate for given attribute the following error message is generated by default:
{attribute} cannot be blank.
Well, any idea how to customise this error message?
Thanks ahead!
Hi,
Presuming ‘allowEmpty’ => FALSE rule failed to validate for given attribute the following error message is generated by default:
{attribute} cannot be blank.
Well, any idea how to customise this error message?
Thanks ahead!
I know this is old but I figured out the answer so I thought I would share …
‘allowEmpty’=>false, ‘message’=>‘custom message here’ //overrides the default …cannot be blank