如何禁用验证规则 [英] How to disable a validation rule

查看:110
本文介绍了如何禁用验证规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在文本框中应用了验证规则.可以根据用户的喜好通过单击复选框来启用或禁用该文本框.我们面临的问题是,当用户启用texbox并输入无效条目然后决定禁用该文本框时,即使禁用了该文本框,验证仍处于活动状态.

我们需要

如何禁用该功能?

我们该怎么做?

We have applied a validation rule in a text box. The textbox can be enabled or disabled depending on the user preference by clicking a checkbox. The issue we are having is that when a user enables the texbox and enters an invalid entry and then decides to disable the textbox even if the textbox is disabled the validation is still active.

We need to have the ability to disable the validation when the textbox is disabled.

How can we do that?

推荐答案

这篇文章可能对您有帮助 http://sarafianalex.wordpress.com/2009/02/20/enable-disable-binding-验证/
This post may help you http://sarafianalex.wordpress.com/2009/02/20/enable-disable-binding-validation/


这篇关于如何禁用验证规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆