While I would question the use of the term "bug", it is certainly not proper HTML. According to the W3C specification, the id field of an element must be unique for the entire document. While multiple elements can have the same name, in order for your page to be valid no two elements -- even of different types -- may have the same id.

Lonny Eachus
============

Subject:
[Wtr-general] Question from a newbie
From:
"aidy lewis" <[EMAIL PROTECTED]>
Date:
Mon, 23 Oct 2006 13:25:23 +0100

MB writes:

Congratulations:  you've found a bug.  There should not be two text fields
with the same ID and the same name on the same page.

Not necessarily so; if for example, you look at IBM Portal application
architecture, it contains many separate applications (portlets) within
a container application (portal), and it is feasible that one page can
have > 1 object of the same name. I think your argument may have been
valid for older architectures.

aidy


_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to