由网友(一腔孤勇)分享简介:我做了一些表单字段值的一些方案的验证,有没有什么办法在ActionScript来突出现场红色的方式验证呢?I'm doing some programmatic validation of some field values in a form, is there any way in Actionscript to...
我做了一些表单字段值的一些方案的验证,有没有什么办法在ActionScript来突出现场红色的方式验证呢?
I'm doing some programmatic validation of some field values in a form, is there any way in Actionscript to highlight the field in red the way the validators do?
推荐答案
您只需要设置errorString属性的纲领性验证错误
you just need to set errorString property on programmatic validation error
<s:TextInput errorString="error string value" />
<mx:TextInput errorString="error string value" />
相关推荐
最新文章