Yii Framework Forum: Yii & jquery mobile client validation - Yii Framework Forum

Jump to content

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

Yii & jquery mobile client validation Rate Topic: -----

#1 User is offline   subbudubbu 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 28-October 11

Posted 18 November 2011 - 04:53 AM

Hello,

I am developing a mobile application with Yii and jQuery mobile and encountered the following problem:

I have a form I want to use client validation on, but this only works if i call the page directly.
If I navigate to the page normally, Yii inserts the javascript code in the body outside of the page div, so it gets dropped.

Is there any way to tell Yii where to put the validation code?
Any other suggestions?

Thanks.
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