Skip to Content
0
Former Member
May 29, 2005 at 01:31 PM

Problem clearing a text input when implementing the onEnter event

44 Views

Hello,

I have an input field which is bound to a text Context element called firstName.

I've created an event to clear the input field by writing at the onEnter event this action code:

wdContex.currentContexElement().setFirstName(null);

The problem is when the user enters the input field he still sees the "old" text. I beleive that the field needs to be "refreshed" with the new context it is bound to in some why but how?