1 Reply Latest reply on Aug 31, 2008 12:07 AM by kglad

    Restricted numbers

      I need to create an input text field that allowes numbers to be only between letters.
      for example: LLNNNL or LLNNLLNNLLL - is allowed, but NLLL or LLLN or NNLLLN isn't.
      any ideas?
        • 1. Re: Restricted numbers
          kglad Adobe Community Professional & MVP
          if N is a number and L is a letter, both your allowed examples show numbers that are NOT between letters.

          looking at your examples, it appears that numbers can be placed anywhere except at the beginning and end of a string. and that should be easy to determine using the flash string methods and isNaN() function().