This content has been marked as final. Show 5 replies
You could use setStyle in an event handler, preferably a ValidationResultEvent:
CSS cannot change this style.
Oh, so you are saying there is no way of changing the errorString CSS properties for an element?
No, just saying if you want to change a style (such as borderStyle) on the textInput control after the app is loaded, you must use the setStyle method.
Thank you rtalton! :)
And don't forget, if you have lots of style changes to switch between, you can use setStyle("styleName", "mySelectorName")