jformvalidate compareAttribute 問題

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

我是用 Yii 1.0.8 jformvalidate-1.0.6

在 rules 中是這麼設定的

array(‘user_passwd’,‘compare’, ‘compareAttribute’ => ‘confirm_passwd’),

在瀏覽器中我在 user_passwd 輸入密碼後 , 他會即時的在 user_passwd 欄位旁顯示錯誤訊息 "密碼 必須被重覆"

但當我在 confirm_passwd 輸入相同密碼後 , 原本的 user_passwd 欄位旁的錯誤訊息並未消失

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)