Robby,
you could add an action to your form model, and it's counterpart in the
form template, a hidden button. Then add an onclick event on the field
widget (for which you want to toggle the state), which clicks the hidden
button. In the model definition of the fd:action you can then set the
field widget's state. Don't know if this is the cleanest solution, but
should work.
Dennis Dam
Robby Pelssers, AGP wrote:
Hi all,
I'm looking for a way to add an on-click event handler to a
fieldWidget. I would like to achieve that when a user clicks on a
fieldwidget (WidgetState.OUTPUT),
the Widget becomes ACTIVE. Anybody who has already performed
something simular??
Robby Pelssers
AGP Solutions
Tel: + 31 (0)413 38 77 77
Fax: + 31 (0)413 36 70 25
E-mail: [EMAIL PROTECTED]
Web: http://www.agp.nl <http://www.agp.nl/>
--
Hippo
Oosteinde 11
1017WT Amsterdam
The Netherlands
Tel +31 (0)20 5224466
-------------------------------------------------------------
[EMAIL PROTECTED] / http://www.hippo.nl
--------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]