Yii Framework Forum: jformvalidate compareAttribute 問題 - Yii Framework Forum

Jump to content

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

jformvalidate compareAttribute 問題 Rate Topic: -----

#1 User is offline   Pigo 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 15
  • Joined: 26-April 09

Posted 25 August 2009 - 10:30 PM

不知道有沒有人和我一樣的問題

我是用 Yii 1.0.8 jformvalidate-1.0.6

在 rules 中是這麼設定的
array('user_passwd','compare', 'compareAttribute' => 'confirm_passwd'),

在瀏覽器中我在 user_passwd 輸入密碼後 , 他會即時的在 user_passwd 欄位旁顯示錯誤訊息 "密碼 必須被重覆"
但當我在 confirm_passwd 輸入相同密碼後 , 原本的 user_passwd 欄位旁的錯誤訊息並未消失
0

#2 User is offline   Raoul 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 643
  • Joined: 29-November 08
  • Location:Paris, France

Posted 29 August 2009 - 07:51 AM

hi Pigo,
your post is maybe very intresting but I can't read it :blink: ... look what I see in FF (see attached screenshot).
Could you please use latin characters so I can reply to your request ?
thanks
8)

Attached File(s)


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