W3C home > Mailing lists > Public > www-forms@w3.org > August 2002

RE: "required" question

From: Dan Dennedy <DDennedy@digitalbang.com>
Date: Fri, 16 Aug 2002 09:04:40 -0400
Message-ID: <11DC9B322580C843AE5A3D030D950B030315A0@intrabang01.digitalbang.com>
To: "Kia Dabirian" <kia_dabirian@yahoo.com>, <www-forms@w3.org>

This can not be answered because, in newer versions of the draft
recommendation, you do not specify constraints on the form controls.
Now, constraints are more like extensions of XML Schema and bound to the
instance data. Please review the latest draft (soon to be revised
again).

> -----Original Message-----
> From: Kia Dabirian [mailto:kia_dabirian@yahoo.com] 
> Sent: Friday, August 16, 2002 7:43 AM
> To: www-forms@w3.org
> Subject: "required" question
> 
> 
> 
> Hello!
> 
> Given the following XForms snippet:
> 
> <group xmlns="wordswords...Xforms" required="not(//userid)" id="l">
>   <caption>User Login</caption>
>   <input required="true()" id="u">
>     <caption>username</caption>
>   </input>
>   <secret required="true()" id="p">
>     <caption>password</caption>
>   </secret>
>   <input id="d">
>     <caption>domain</caption>
>   </input>
>   <submit submitInfo="s">
>     <caption>Login</caption>
>   </submit>
> </group>
> 
> Is the resulting domain field required? If so how do I make 
> it not required?
> 
> 
> __________________________________________________
> Do You Yahoo!?
> HotJobs - Search Thousands of New Jobs
> http://www.hotjobs.com
> 
> 
Received on Friday, 16 August 2002 09:05:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:51 GMT