Hello there,

The problem happens when I have 2 password_confirm elements being rendered in a single page.

In my case, one of the password_confirms is generated by the user.module, the other is generated by my module and they both are rendered into the user edit page.

When the user types 2 different entries on my password_confirm, all password_confirm elements of the page highlight the error. In addition to that, if the user types 2 different entries on the first password_confirm of the page, no error is highlighted. Is there a conflict between password_confirm elements on a same form?

Best,

Leo

Comments

chx’s picture

please check the HTML source for the names there. if they are the same, then you made an error in the form array declaration, see the #tree / #parents documentation on that.

if they indeed have separate names, then share the code with us so we can debug.

killes@www.drop.org’s picture

I have encountered the same problem when updating cvs.module.

sammys’s picture

http://drupal.org/node/59528 is a potential fix for this bug.

--
Sammy Spets
Synerger Pty Ltd
http://www.synerger.com

killes@www.drop.org’s picture

Version: 4.7.0-beta6 » 4.7.0
Status: Active » Fixed

indeed, fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)