RE: required controls

Hello,

The answer will, of course, vary depending on your exact circumstances.

If you can craft an XPath expression that represents a set of nodes, of
which any *one* must have a value, you could use a constraint expression
like:

constraint="count-non-empty( *expression* ) > 0"

If this doesn't fit your circumstances, please post more details.

Thanks!

.micah

-----Original Message-----
From: Thierry Michel [mailto:tmichel@w3.org]
Sent: Tuesday, July 09, 2002 1:48 AM
To: www-forms@w3.org
Cc: villani@lirmm.fr
Subject: Fw: [Moderator Action] required controls



transfered to www-forms@w3.org

----- Original Message ----- 
From: "Sylvain VILLANI" <villani@lirmm.fr>
To: <www-forms@w3.org>
Sent: Monday, July 08, 2002 10:42 AM
Subject: [Moderator Action] required controls


> 
> 
> Hello,
> 
> I studied the XForms Last Call WD, but can't resolve this problem :
> in a form with several controls (eg: a multi-criteria search page), is
> there a way to specify that one control AT LEAST must be filled before
> or at the submission ?
> 
> Thank for your reply
> Regards, Sylvain - LIRMM, Montpellier (France)
> 

Received on Thursday, 11 July 2002 15:58:13 UTC