W3C home > Mailing lists > Public > www-forms@w3.org > February 2004

Actions in form controls

From: Jonathan Ito <jito@ksventures.com>
Date: Thu, 12 Feb 2004 13:59:07 -0800
Message-ID: <402BF72B.5020601@ksventures.com>
To: www-forms@w3.org


I'm relatively new to XForms and have a question:

I have the following code fragment (basic select1 statement):

            <select1 ref="myValue">
                <label>Choose one</label>
                   <label>Item 1</label>
                   <label>Item 2</label>

How can I fire off some action as soon as the user selects a value from 
the list without having to bother with some submit button.

I've tried inserting the following in the form control:

<action event="xforms-value-changed">
    <send submission="debug"/>

but this doesn't seem to be working.  I'd really appreciate any help!

Received on Thursday, 12 February 2004 17:08:27 UTC

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