比如请假申请中,当请假类型选择其他时必需填写说明,就需要用到验证项动态启用、禁用功能。

所有验证控件都具有DisableExpress属性,当表达式成立时验证控件禁用。

上例中的DisableExpress为:请假类型 != '其他'

设置DisableExpress

Created with the Personal Edition of HelpNDoc: Generate EPub eBooks with ease