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

Questions on the WD-XForms-20010608

From: Mats Norén <mats.noren@spectral.se>
Date: Mon, 25 Jun 2001 17:46:18 +0200
Message-ID: <007401c0fd8d$f978e640$3602a8c0@spectral.se>
To: <www-forms@w3.org>
How is the switch construct supposed to work?

By reading the spec I couldn´t really see how the bind between the action toggle to the switch construct is supposed to work.

<switch id="01" default="initial">
  <case id="us">
    <caption>Please Specify a US Shipping Address.</caption>
  <case id="uk">
    <caption>Please specify a UK shipping address.</caption>
  <case id="initial">

  <onevent id="shippingAddress" registerwith="01" type="dom-click">
         <action id="us">
              <toggle switch="01" case="us"/>


Is the onevent embedded in the switch construct or?

Or is it embedded in the UI-control or in a group element?

Mats Norén
Received on Monday, 25 June 2001 11:45:53 UTC

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