I have a text field whose value is associated with a select box. When 
the select box selection changes the meaning of the value of the texbox 
changes also. I would like to provide an error message relevant to that 
new meaning. I modified this example from the demo browser to show what 
I mean. http://tinyurl.com/preq489
My code starts in line 67 and ends in line 83.

In this example an event listener is attached to the select box. Every 
time the select box changes selection the event handler calls the 
setRequiredInvalidMessage of nameTextfield to modify that property. 
Unfortunately if we hover above the nameTextfield the tooltip still 
shows the old message. If we press the send button the form is validated 
and the error message is updated.

I would like to know if it is possible to make available the new message 
in nameTextField's tootlip without having to validate the whole form 
every time. If somehow we could call validate() in on specific item it 
would be great. Any other option is welcome.

------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to