Re: [WSG] input name and id

2007-04-19 Thread liorean
On 19/04/07, Nick Fitzsimons <[EMAIL PROTECTED]> wrote: A DTD is perfectly capable of specifying that an attribute is required: it uses the syntax #REQUIRED. The spec for the name attribute of the input element states that it is #IMPLIED, not #REQUIRED, therefore it is not correct to say that the

Re: [WSG] input name and id

2007-04-19 Thread Nick Fitzsimons
On 19 Apr 2007, at 12:03:22, liorean wrote: On 16/04/07, Nick Fitzsimons <[EMAIL PROTECTED]> wrote: Name and ID serve two different purposes. ID is used to identify the element's node in the document [1]. Name is used to identify the element's value in the form submission posted back to the ser

Re: [WSG] input name and id

2007-04-19 Thread liorean
On 16/04/07, Nick Fitzsimons <[EMAIL PROTECTED]> wrote: Name and ID serve two different purposes. ID is used to identify the element's node in the document [1]. Name is used to identify the element's value in the form submission posted back to the server [2]. OTOH, according to the HTML 4.01 Str

Re: [WSG] input name and id

2007-04-18 Thread Terrence Wood
On 18/04/2007, at 1:56 PM, Mariusz Nowak wrote: 'name' is not required by specification (at least as far as I understand specification) - it's a bit striking to me as what's the use of input element without assigned name?? Exactly. Perhaps I should have said 'name' is **needed** to proces

Re: [WSG] input name and id

2007-04-17 Thread Mariusz Nowak
Terrence Wood wrote: [EMAIL PROTECTED]: Can I just substitute ID for NAME and still adhere to web standards or is NAME really required? 'name' **is** required on inputs. It's confusing, but the name attribute is required on **form controls** (input etc) so that your from can be processed

Re: [WSG] input name and id

2007-04-17 Thread Terrence Wood
[EMAIL PROTECTED]: Can I just substitute ID for NAME and still adhere to web standards or is NAME really required? 'name' **is** required on inputs. It's confusing, but the name attribute is required on **form controls** (input etc) so that your from can be processed on your server - i

Re: [WSG] input name and id

2007-04-16 Thread Nick Fitzsimons
On 16 Apr 2007, at 20:17:15, [EMAIL PROTECTED] wrote: The HTML & XHTML definitive guide from O'Reilly states that NAME is a required attribute in INPUT. Can I just substitute ID for NAME and still adhere to web standards or is NAME really required? I'm coding for HTML 4.01 strict. Name an

Re: [WSG] input name and id

2007-04-16 Thread Joseph R. B. Taylor
The "name" attribute is used to post the element's value to a new page, where as "id" is used to identify the element within the document. You want both regardless of the duplicate entry when creating the input elements. If you had to leave one out, you would remove the "id" attribute, leaving

Re: [WSG] input name and id

2007-04-16 Thread David Dorward
[EMAIL PROTECTED] wrote: > The HTML & XHTML definitive guide from O'Reilly states that NAME is a > required attribute in INPUT. Can I just substitute ID for NAME and still > adhere to web standards or is NAME really required? I'm coding for HTML > 4.01 strict. The name determines the control na