W3C home > Mailing lists > Public > www-forms@w3.org > December 2001

RE: Partial form submissions and optional fields

From: Micah Dubinko <MDubinko@cardiff.com>
Date: Mon, 3 Dec 2001 10:32:00 -0800
Message-ID: <E840F0B7E6189547BDB91DA8BF2228AB28C049@csmail.cardiff.com>
To: "'Eric Fu'" <ericfu@etrieve.com>, www-forms@w3.org

The goal for XForms is to submit XML. If there's _nothing_, not even a root
element, then it's not well-formed XML. So yes, we want to be able to submit
a subset of the instance data, but only if that subset is non-zero!

On selectOne, we are making that form control strictly always select one

All this and more is addressed in our upcoming draft.



-----Original Message-----
From: Eric Fu [mailto:ericfu@etrieve.com]
Sent: Friday, November 30, 2001 2:06 PM
To: www-forms@w3.org
Subject: Partial form submissions and optional fields

I have a couple of questions regarding the current working draft (Aug. 28,

1) Section has a restriction that the instance data can not have
an empty node-set, otherwise the form submission will be aborted. 

This obviously singles out the case where a form that is partially filled in
gets submitted. 

In real life, that can happen if the user decide to submit the form for
later review. 
Does the WG plan to address this issue in the next draft?

2) Similarly on a related problem - and again drawing from real life -
certain fields of a form can be optionally fill in by the user, i.e.
intentionally left blank. If this happens on a "SelectOne" field then the
validation certainly have to validate the case where the field is left

I hope the WG can come up with the right syntactic to address these
problems. (Or is it already hidden in the current draft, in which case
please kind enough to point it out)


Received on Monday, 3 December 2001 13:36:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:05 UTC