W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2007

[whatwg] HTMLFormElement reset method

From: Brad Fults <bfults@gmail.com>
Date: Thu, 29 Mar 2007 22:06:28 -0700
Message-ID: <1959130b0703292206i44287339p192eb0a5db910afb@mail.gmail.com>
In section 7.1 of the WA 1.0 draft [1], there is the following text:

    The reset() method resets the form, then fires a a formchange
event on all the form controls of the form.

In the case of a form seeded with initial values [2], it is not clear
to me whether the intention is for the form's reset() method to reset
the form to some sort of blank state or to the state immediately
following the seeding of initial values.

Clarity on this point would be appreciated.

Thanks.


[1] - http://www.whatwg.org/specs/web-forms/current-work/#form.checkvalidity
[2] - http://www.whatwg.org/specs/web-forms/current-work/#seeding

-- 
Brad Fults
Received on Thursday, 29 March 2007 22:06:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:54 UTC