7 Replies Latest reply on Sep 30, 2008 2:26 PM by

    phoneNumberValidator is a real pain

      I´ve a form with 5 fields to validate with one submitButton
      But the phoneNumberValidator is a real pain.
      Cant override the standard validation - “Your telephonenumber
      must at least contain 10 digits”

      In Sweden we have 8 digits.
      How do I solve this?
      (At least contain 8 digits)
      Cant find any solutions when I´m google or search in this forum.

      Here´s the code:
      <!-- Validate phone number -->
      <mx:PhoneNumberValidator
      id="phoneValidator"
      source="{senderTele}"
      property="text"

      ..
      <mx:Label text="TELE" y="66" height="15"/>
      <mx:HBox width="170" height="20" horizontalAlign="left" verticalAlign="middle" y="81">
      <mx:TextInput height="20" width="150" id="senderTele" change="validateForm(event);"/>
      </mx:HBox>

      I really appreciate some help.