0 Replies Latest reply on Mar 11, 2010 2:06 AM by jwalakumar22788

    how to convert this java scrtipt code to flex code

    jwalakumar22788
      // If the element's string matches the regular expression it is numbers and letters
      function isAlphanumeric(elem, helperMsg){
           var alphaExp = /^[0-9a-zA-Z]+$/;
           if(elem.value.match(alphaExp)){
                return true;
           }else{
                alert(helperMsg);
                elem.focus();
                return false;
           }
      }