2 Replies Latest reply on Nov 12, 2009 2:41 AM by twitskull

    StringValidator state

    twitskull Level 1



      I am building a small form and I need to validate data. For this I use validators in Flex SDK


      Here is a snipet of a code


              requiredFieldError="To polje je obvezno"
              tooShortError="Obvezno najmanj štiri znake."
      <mx:TextInput width="300" id="tbxUsername"/>


      Everything works fine. Now I need to get the state of my validator when I press a button to submit. Is it even possible to get a property out of StringValidator that will give me true or false if condition is satisfied.


      I search on the web and could find any sollutions.