Yii Framework Forum: Front End Validation Only After Submit - Yii Framework Forum

Jump to content

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

Front End Validation Only After Submit Rate Topic: -----

#1 User is offline   styopdev 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 26-November 13

Posted 03 July 2014 - 08:38 AM

Hi All!
I use TbActiveForm ( bootstrap extension ) for form. I need disable validation on blur event, Validation need
work only after submit.
Thanks For Help!
0

#2 User is offline   styopdev 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 9
  • Joined: 26-November 13

Posted 03 July 2014 - 08:55 AM

Solution

'clientOptions' => array(
'validateOnSubmit' => true,
'validateOnChange' => false
)
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