信息路径中的规则和验证有什么区别?
我正在使用 Microsoft Office infopath 2007。我已将控件作为文本框和下拉列表插入。当我右键单击进行控制时,有 2 个选项链接作为数据验证和规则。它们之间的主要区别是什么?我是信息路径的新手,所以需要指导。
何时使用规则以及何时使用验证。我们可以自定义验证和规则吗?我们可以在 infopath 中定义自定义规则和验证吗?
I am working on Microsoft office infopath 2007.I have inserted the controls as text box and drop down. when i get right click to control there are 2 option links as Data validation and Rules. what are the main difference in between them? I am new in infopath so need guidance.
when to use rules and when to use validations. can we customize validation and rules? and can we define custom rules and validation in infopath ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
数据验证可用于在用户在表单中输入不正确的值时显示错误警报。数据验证不是在表单完成后检查错误,而是在填写表单时验证值。
您可以使用规则自动显示对话框、设置字段值、查询或提交到数据连接、切换视图或打开或关闭表单以响应某些事件和条件。
我不确定您是否可以创建自己的自定义规则和数据验证。但是,可以通过编写编程代码来自定义 infopath 表单,以响应表单和数据验证事件、访问和操作表单的基础 XML 文档、实现自定义数据提交和合并以及实现对外部数据源的访问。
Data validation can be used to display error alerts when users enter incorrect values into a form. Rather than checking for errors after a form is completed, data validation verifies values as the form is being filled out.
You can use rules to automatically display a dialog box, set a field's value, query or submit to a data connection, switch views, or open or close a form in response to certain events and conditions.
I'm not sure that you can create your own custom rules and data validation. But infopath forms can be customized by writing programming code to respond to form and data validation events, to access and manipulate a form's underlying XML document, to implement custom data submission and merges, and to implement access to external data sources.