6 Replies Latest reply on Mar 5, 2009 1:49 PM by dave80210

    RegExpValidator problem

      I have to admit, I have limited regular expression skills, so maybe someone can tell me why this doesn't work. I have a TextInput that can only contain three digits and this is what I am using to validate it:

      <mx:TextInput id="myInput" />
      <mx:RegExpValidator expression="/\d\d\d/" source="{myInput}" property="text" />

      Maybe someone can tell me why it fails with an input value of 123