W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] input type="hidden" and validation

From: Adrian Sutton <adrian.sutton@ephox.com>
Date: Wed, 22 Oct 2008 20:11:28 +0100
Message-ID: <C5253970.9583%adrian.sutton@ephox.com>
On 22/10/2008 19:58, "Ian Hickson" <ian at hixie.ch> wrote:
> On Wed, 22 Oct 2008, Mike Wilson wrote:
>> - allowing hidden <input>:s to actually live anywhere (this is
>>   probably hard to do dtd/validation-wise)
> 
> It's easy to specify, the problem is that it makes it easy for authors to
> get in trouble if they change the type attribute on the fly (e.g. in an
> editor or from script).

>From an implementation perspective this makes life a lot harder as well
since the allowable positions for input now depend on an attribute rather
than just the tag name. WYSIWYG editors would also find it difficult to
indicate the presence of the hidden field in odd locations like between
table and tr even ignoring the fact that they'd have to move it if the
author changed the type.

Regards,

Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 753 27 2229  US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>
Received on Wednesday, 22 October 2008 12:11:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:06 UTC