Yii Framework Forum: How Can I Use The Html 5 Require Attribute In My Yii Forms - Yii Framework Forum

Jump to content

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

How Can I Use The Html 5 Require Attribute In My Yii Forms Rate Topic: -----

#1 User is offline   noorr_swati 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 15-November 13
  • Location:Pakistan

Posted 17 December 2013 - 09:54 AM

hi, i want to validate my form without any model but i don't know how to include required attribute in my text field kindly if any one know share with me , tnx.
0

#2 User is offline   noorr_swati 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 89
  • Joined: 15-November 13
  • Location:Pakistan

Posted 17 December 2013 - 09:57 AM

i did that its just required=>true :D
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