On 18.05.2004 11:16, Remmerie Bart wrote:

1. Starting by modifying the fields styling stylesheet, adding a
"submit-on-click" option, which generates an on-click attribute
=> could not figure out where to go next...

If you want to have a real onClick or onSelect or whatever you must go this way. But I fear it won't work: onSelect="submit()" => page reload => nothing selected => user selects field => onSelect="submit()" ...


The explicite selection Upyavira suggested seems to be better. Or you don't do a form submit and only reload the details coplet. This logic must then be implemented by client side javascript. This also circumvents the need to update two frames (is each coplet in a different frame?? or your detailview?).

2. Using form.js v3, where you can add an onActivate event to widgets
=> Could not get any output at all: does this work for textfields ?

This can not work as it is only server side javascript. And a textfield has no onActivate event, only submits or actions should have one.


Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to