onDataChange in Web Client

I’m working with the web client under 3.0.2. and I’m trying to do the following:

I have a form with editable text field A and editable text field B. If the user enters value X in field A, I want Servoy to put today’s date in field B. I’ve attached a method to field A’s onDataChange event to handle this. Works fine in smart client, doesn’t work in Web Client.

From the testing I’ve done using Firefox on WinXP, not only does it not update field B in the GUI but it doesn’t always update it in the db either. And yes, I am issuing a controller.saveData() command.

What am I missing here?

Thanks in advance for your help.

[post removed to prevent confusion for future readers]

onDataChange is not supported in the WebClient (yet). Turn on the Web Development filter to see what is and isn;t supported in the WebClient.

Paul

onDataChange appears in the properties panel with the web filter on.

I stand corrected :oops:

ondataChange is supported, but it’s only ifred after a submit towards the server, meaning a button needs to be pressed.

Paul

in 3.5 it will trigger when you change the field.
also focus gained and lost will work.

jcompagner:
in 3.5 it will trigger when you change the field.
also focus gained and lost will work.

This is great news. Thank you!

Dean

Johan,

i am looking at a very drop down menu rich application to create text based reports for doctors.

Looking at the various testing issues we are having with firewalls and port 1099 at the various locations this network of experts work at, i am convinced the web client is the way forward!

Either i am about to put a lot of buttons on my solution (i have over 109 drop down menus that activate an on datachange!) or …

Any idea when 3.5 might be released to avoid the recoding on my entire solution as well as preventing it from looking messy!

David

we are planning a beta end March/beginning April and a release 2 months after that.

cant wait!

will the beta be available for all users?

David

Yes, the beta will be public - like all of our betas are. :D