http://blog.sina.com.cn/s/articlelist_1829618345_3_2.html
把提交绑定到按钮上面了,去掉了trigger 和triggerEvent这样,提交不合格信息不需要移动到输入就可以出现红色提示框
把提交绑定到按钮上面了,去掉了trigger 和triggerEvent这样,提交不合格信息不需要移动到输入就可以出现红色提示框
<?xml version="1.0"encoding="utf-8"?>
<mx:Applicationxmlns:mx="http://www.adobe.com/2006/mxml"layout="vertical">
<mx:Style>
</mx:Style>
<mx:Script>
</mx:Script>
property="text" required="true" maxLength="10"minLength="6"
requiredFieldError="不能为空" tooLongError="不超过10个字符"tooShortError="不少于6个字符" />
</mx:Application>