# onDataChange in Web Client

**URL:** <https://forum.servoy.com/t/ondatachange-in-web-client/6970>\
**Category:** Classic Servoy\
**Created:** [January 17, 2007, 8:45am UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970 "2007-01-17T08:45:09Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![amcgilly](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@amcgilly](https://forum.servoy.com/u/amcgilly)\
**Post date:** [January 17, 2007, 8:45am UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/1 "2007-01-17T08:45:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [January 17, 2007, 8:52am UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/2 "2007-01-17T08:52:06Z")

</div>

_[post removed to prevent confusion for future readers]_

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 17, 2007, 8:26pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/3 "2007-01-17T20:26:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![amcgilly](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@amcgilly](https://forum.servoy.com/u/amcgilly)\
**Post date:** [January 17, 2007, 9:24pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/4 "2007-01-17T21:24:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [January 17, 2007, 9:29pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/5 "2007-01-17T21:29:33Z")

</div>

I stand corrected ![:oops:]( "Embarassed")

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

Paul

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [February 26, 2007, 11:11am UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/6 "2007-02-26T11:11:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Westy](https://avatars.discourse-cdn.com/v4/letter/w/9de053/32.png) [@Westy](https://forum.servoy.com/u/Westy)\
**Post date:** [February 26, 2007, 1:49pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/7 "2007-02-26T13:49:28Z")

</div>

> 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

---

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [March 8, 2007, 8:20am UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/8 "2007-03-08T08:20:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [March 8, 2007, 4:49pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/9 "2007-03-08T16:49:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dpearce](https://avatars.discourse-cdn.com/v4/letter/d/e95f7d/32.png) [@dpearce](https://forum.servoy.com/u/dpearce)\
**Post date:** [March 8, 2007, 6:36pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/10 "2007-03-08T18:36:32Z")

</div>

cant wait!

will the beta be available for all users?

David

---

<div class="post-metadata">

**Author:** ![bcusick](https://avatars.discourse-cdn.com/v4/letter/b/ed8c4c/32.png) [@bcusick](https://forum.servoy.com/u/bcusick)\
**Post date:** [March 8, 2007, 7:30pm UTC](https://forum.servoy.com/t/ondatachange-in-web-client/6970/11 "2007-03-08T19:30:44Z")

</div>

Yes, the beta will be public - like all of our betas are. ![:D]( "Very Happy")
