效果:
requiredFieldError="請輸入密碼,6到12個字符,不允許輸入特殊字符!" tooShortError="密碼長度必須大於6"
tooLongError="密碼不能超過12位"/>
<mx:RegExpValidator id="rpwdV" source="{rpwd}" property="text" expression="^{passwd.text}$" required="true"
requiredFieldError="不能爲空" noMatchError="兩次密碼不一致"/>