I have a simple String validator like;
<mx:StringValidator property="text" source="{_codeInput}" enabled="true" minLength="2" required="true" />
And it works fine. The problem is how can I activate the required red border on a button click like "ADD" so that the user sees that this field is required.
Right now how it works is that once you enter a text, and deletes it the red border gets activated.
So is there a way to activate the red border on an action, before having to enter something and deleting it from a TextInput?