Re: Events in XForms

Hi,

I also have this kind of problem. I'd like to do something like this :

<xform:input bind="a">
    <xform:caption>Title</xform:caption>
    <xform:action event="xforms-value-changing">
        <xform:setValue bind="a" value="abc"/>
    </xform:action>
</xform:input>

So that when the user changes the value of the input, it becomes straight
away
"abc".

Unfortunately, it doesn't seem possible.

Does anyone has a work-around ?

Thanks,

Xavier



----- Original Message -----
From: "Jérôme Nègre" <jerome.negre@ecl2000.ec-lyon.fr>
To: <www-forms@w3.org>
Sent: Friday, October 05, 2001 11:00 AM
Subject: Events in XForms


> Hi,
>
> in §11.3 it says "Unless otherwise noted, the target node for all events
is
> the xform element".
>
> I didn't find such a note, so e.g. an xforms-value-changing event is
> targeted to the corresponding xform element. Does this mean that a form
> control can't have an action (see §7.14.4.5) listening to these XForms
> events ?
>
> That would be surprising, so I think I must have misunderstood
something...
> If someone could enlighten me, thanks !
>
> Jérôme Nègre
>
>
>

Received on Tuesday, 9 October 2001 08:34:40 UTC