2 Replies Latest reply on Mar 10, 2009 4:41 AM by kemah551


    kemah551 Level 1
      I have a problem trying to trap an error for a negative number. I have one NumericStepper that is subtracted by another Numeric Stepper. The problem is that I don't want the user to provide a negative number. How do I go about checking for a negative number and throwing a message to the user that a negative result is not allowed.

      I've tried the numberValidator to no avail.

      Any help would be most appreciated.

      This is what I've tried.
      minValue="0" maxValue="100"