4 Replies Latest reply on May 31, 2007 9:51 AM by kglad

    Reset the Value

      I have a Number:textinput component on the stage with a default value of 20 and a label component next to it. If a user types in a number >= 51 the label displays "Maximum is 50". My question is: How can I reset the textInput back to the default value if a user types in a number >= 51? Here is my function so far: