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

RE: XForms Requirements document

From: Nolan, Laura <Laura_Nolan@hplb.hpl.hp.com>
Date: Thu, 12 Jul 2001 12:53:11 +0100
Message-ID: <5E13A1874524D411A876006008CD059F02C41CEE@0-mail-1.hpl.hp.com>
To: "'wNema@NemaCorp.com'" <wNema@NemaCorp.com>, AndrewWatt2001@aol.com, www-forms@w3.org
Isn't this sort of thing what the required property in the XForms Model is
supposed to address? If this property can be computed dynamically in terms
of other fields, which the WD seems to imply it is, then you could use this
to get the sort of behaviour you described. See section 5.2.4.
Laura Nolan

-----Original Message-----
From: Waleed Nema [mailto:wNema@MediaOne.net]
Sent: 11 July 2001 18:12
To: AndrewWatt2001@aol.com; www-forms@w3.org
Subject: RE: XForms Requirements document

Yes, you're right about that one but what about making a group of fields
required if one of the list is selected -as in my example?

-----Original Message-----
From: www-forms-request@w3.org [mailto:www-forms-request@w3.org]On Behalf Of
Sent: Wednesday, July 11, 2001 11:38 AM
To: www-forms@w3.org
Subject: Re: XForms Requirements document

In a message dated 11/07/01 16:27:31 GMT Daylight Time, wNema@MediaOne.net 

It would be nice to include a means for specifying a field as a "Required 
Field". Additionally, to take it a step further, one should be able to 
define a "Required-Field Mask Set" where one could define the allowable 
field combination sets of which at least one must be met. For instance, on a

search screen, the user must enter one of the following: 
a) zip code 
b) city and state, or 
c) phone number 

This requirement would fit under section 3.6.


I think that functionality is already present implicitly. If an XSD Schema 
datatype is restricted so that it cannot accept an empty string (or
then that, I think, would work out de facto as a required field. 

Andrew Watt 
Received on Thursday, 12 July 2001 07:53:38 UTC

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