Hi all,
I have a form with a TextField component and a DropDownChoice
component. The DropDownChoice component has an
AjaxFormComponentUpdatingBehavior(onchange) behavior added.
What I would like to do is to change the color of the text in the
TextField component whenever a DropDownChoice
You don't send the data of the text field back to the server. So
either you add a formcomponent updating behavior to the textfield, so
that the user input is available at the server, or you don't update
the textfield, but manipulate its style directly, see
target.appendJavaScript() for that.