| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| DesignersTalk > My weekly id/name/input/fieldset/form XHTML Strict question. |
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
css is for divs
Join Date: Feb 2003
Location: Norwich
Posts: 4,524
|
My weekly id/name/input/fieldset/form XHTML Strict question.
Just having a bit of a discussion, and have been talking about various different things to the point where confusion is setting in, so set me straight people: XHTML elements should only need an id, and not a name. However, FORM elements need a name? |
|
|
|
|
|
#2 (permalink) |
|
unusual suspect ™
Join Date: Jul 2004
Location: DE, USA
Posts: 2,710
|
I believe, and someone will correct me if I'm wrong I hope, that name is deprecated for all elements except FORM. FORM elements need a name to pass their variables to the right place. I think. |
|
|
|
#4 (permalink) | |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,193
|
Quote:
Yeah, seen.to is right - form elements need id and name |
|
|
|
|
#5 (permalink) |
|
DAC
|
I can tell you that form submissions using fields without name attributes do not register those fields with the when using IE5.5. Also, for some kinds of forms, like Radio, you need more than one Radio buttons with same name in order to group them. but id must be unique. |
|
![]() |