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

RE: Actions in form controls

From: Borgrink, Susan <sborgrink@progeny.net>
Date: Thu, 12 Feb 2004 17:32:58 -0500
Message-ID: <FB041607EAE6DF4697B73E29142D1C4B015577@es3.progeny.net>
To: "Jonathan Ito" <jito@ksventures.com>, <www-forms@w3.org>

Have you tried changing the <action event="xforms-value-changed"> to <action event="xforms-select">?  "xforms-select" is the notification sent out when a select1 or select is selected not "xforms-value-changed".

FormFaces Developer

-----Original Message-----
From: Jonathan Ito [mailto:jito@ksventures.com]
Sent: Thursday, February 12, 2004 16:59
To: www-forms@w3.org
Subject: Actions in form controls


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:32:58 UTC

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