W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] Incremental rendering of forms

From: Olav Junker Kjr <olav@olav.dk>
Date: Thu, 05 Aug 2004 01:06:45 +0200
Message-ID: <WorldClient-F200408050106.AA06450509@jirty.dk>
Some thoughts on incremental loading of forms:

In WF2 a form cannot be validated (and therefore not submitted) before the
whole page has been parsed. A control later in the document *could* be
declared by the form-attribute to belong to the form and that control
could be in an invalid state.

Could this be a problem? Many pages have a small search box in the page
header. In HTML 4 you can write a word and press enter the second the box
appears. In WF2 the user have to wait until the whole page has loadet
before the form is submitted. This could take a while, and the use may
think there is an error.

This problem could be solved by defining that a form only should validate
the controls that has been parsed until the submission is triggered.
However this could lead to worse problems, where the validity might depend
on how quick I am to press submit. And these problems are tricky because
they will appear depending on the performance of the system. 

Olav Junker Kj?r
Received on Wednesday, 4 August 2004 16:06:45 UTC

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