Re: [WSG] Form question

2009-07-15 Thread David Dorward
steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? For use in client side scripts IIRC. (HTML 4.01 does have some flaws) -- David Dorward http://dorward.me.uk/

Re: [WSG] Form question

2009-07-15 Thread Nick Fitzsimons
2009/7/15 steve.haffen...@gmail.com: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear inside a FORM element, but may also appear outside of a

Re: Re: [WSG] Form question

2009-07-15 Thread Mathew Robertson
Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear inside a FORM element, but may also appear outside of a FORM element declaration when

Re: Re: [WSG] Form question

2009-07-15 Thread David Dorward
Mathew Robertson wrote: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %block. http://www.w3.org/TR/html4/interact/forms.html#h-17.3 -- David

Re: Re: [WSG] Form question

2009-07-15 Thread Nick Fitzsimons
2009/7/15 Mathew Robertson mat...@optusnet.com.au: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? The HTML 4.01 DTD specifies that only block-level elements or script elements may appear as the immediate children of

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
Hi Please remove me from your email distribution list. I am not sure why I am being Bc'd into these emails. Thanks Vicky From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of steve.haffen...@gmail.com Sent: Wednesday, 15

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? For use in client side scripts IIRC. (HTML 4.01 does have some flaws) -- David Dorward

RE: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: [WSG] Form question 2009/7/15 steve.haffen...@gmail.com: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question Mathew Robertson wrote: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? Because it is an %inline element. The child element(s) of a form must be %block. http

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question Can anyone tell me why the HTML specification does not restrict form elements from appearing outside of the form tag? HTML 4.01 section 17.2.1: The elements used to create controls generally appear inside a FORM element, but may

RE: Re: [WSG] Form question

2009-07-15 Thread Axiotis, Vicky
@webstandardsgroup.org Subject: Re: Re: [WSG] Form question 2009/7/15 Mathew Robertson mat...@optusnet.com.au: Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? The HTML 4.01 DTD specifies that only block-level elements

Re: [WSG] Form question

2009-07-15 Thread Robert Turner
...@webstandardsgroup.org] On Behalf Of David Dorward Sent: Wednesday, 15 July 2009 8:23 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification does not restrict form elements from appearing outside

Re: [WSG] Form question

2009-07-15 Thread Mathew Robertson
Another related question to ask... Why is putting a hidden input field, as the first child of a form element, disallowed? The HTML 4.01 DTD specifies that only block-level elements or script elements may appear as the immediate children of the FORM element; input elements are inline:

Re: [WSG] Form question

2009-07-15 Thread Mike
Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of David Dorward Sent: Wednesday, 15 July 2009 8:23 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Form question steve.haffen...@gmail.com wrote: Can anyone tell me why the HTML specification does