Yii Framework Forum: Custom ''allowempty' => False Error Message ? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Custom ''allowempty' => False Error Message ? Rate Topic: -----

#1 User is offline   Ziggi 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 95
  • Joined: 14-August 12

Posted 20 January 2013 - 10:03 AM

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!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users