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

RE: "required" question

From: Kia Dabirian <kia_dabirian@yahoo.com>
Date: Fri, 16 Aug 2002 06:45:37 -0700 (PDT)
Message-ID: <20020816134537.39455.qmail@web12302.mail.yahoo.com>
To: Dan Dennedy <DDennedy@digitalbang.com>, www-forms@w3.org

Let me try again. Hopefully this is more valid :).

<!-- stuff -->

<model xmlns="...Xforms" id="f1">
  <instance xmlns="">
      <!-- other stuff -->
  <bind id="bindL" ref="//userdata" required="not(//userid)"/>
  <bind id="bindL" ref="//username" required="true()"/>
  <bind id="bindP" ref="//password" required="true()"/>
  <bind id="bindD" ref="//domain"/>
  <submitInfo action="doit.exe" method="post" id="s"/>

<!-- other stuff -->

<group xmlns="...Xforms" id="l" bind="bindL">
  <caption>User Login</caption>
  <input id="u" bind="bindU">
  <secret id="p" bind="bindP">
  <input id="d" bind="bindD">
  <submit submitInfo="s">

<!-- other stuff -->

And if it is, will the resulting domain field be required? And If so,
how do I make it not required?

The question can be boiled down to:

  Is a field "F" required when
    Required(F) and 
    Required(Parent(F)) and 
    Required(Parent(Parent(F))) and

  or when
    Required(F) or 
    Required(Parent(F)) or
    Required(Parent(Parent(F))) or

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
Received on Friday, 16 August 2002 09:45:39 UTC

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