Monday, August 31, 2009

[jQuery] jquery.validate.js error message will not clear when radio button in CakePHP is selected

Hello,

I have this form: http://www.ucasal.net/sistema/encuestas/docentes/2009
which is created using CakePHP v1.2.

When submitting the empty form, the first radio buttons give you an
error message; however, when you select one, the error message won't
clear.

I have a suspicion that the way that CakePHP is maintaining the
state of the radio button with a hidden input which appears first and
has the same name as the other radio elements is the culprit.

If I click in the first textarea the associated error message
clears, so I know that things are being loaded properly.

I have tried using: focusCleanup: true as well as ignore:
':hidden' without success.

Any help would be welcome.

Sincerely,
Christopher Vrooman

No comments: