Skip to main content

Bug Tracker

Side navigation

#7460 closed bug (duplicate)

Opened November 10, 2010 06:31PM UTC

Closed November 10, 2010 06:55PM UTC

Last modified November 10, 2010 06:55PM UTC

Validate breaks on id="id" or name="id"

Reported by: Owned by:
Priority: undecided Milestone: 1.5
Component: unfiled Version: 1.4.3
Keywords: Cc:
Blocked by: Blocking:

If a form has ANY input element (even one that is not subject to validation) that has either its ID or NAME set to "id", then the error label is never reset on the fields that ''are'' subject to validation.

<label for="cemail">Email</label>
<input type="text" class="required email" id="cemail" name="email" value="" />

Because the following input element has its ID and/or NAME
set to "id", the error label for ALL elements, such as the one 
above, is not reset correctly when its contents transitions 
from an invalid to valid entry.  This is true even though the 
element is NOT subject to validation.
<label for="mid">Message ID</label>
<input id="id" type="text" name="id" value="5" />

Attachments (0)
Change History (2)

Changed November 10, 2010 06:55PM UTC by rwaldron comment:1

resolution: → duplicate
status: newclosed

Changed November 10, 2010 06:55PM UTC by rwaldron comment:2

Duplicate of #7212.