Infopath 2010-无法使用规则清除人员选择字段. [英] Infopath 2010 - Cannot clear peoplepicker field using rules.

查看:59
本文介绍了Infopath 2010-无法使用规则清除人员选择字段.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这曾经有效,但是某些更改似乎已经破坏了它.

This used to work, but something has changed that seems to have broken it.

在使用规则清除人员选择字段时,如果该规则包含以下内容,则将起作用:

When using a rule to clear a peoplepicker field, it would work if the rule contained the following:

设置Displayname =",AccountID =". & AccountType =" PP组.

Set Displayname="", AccountID="" & AccountType="" for the PP group.

在这里描述-

described here - https://social.msdn.microsoft.com/Forums/office/en-US/a7e14458-b326-431c-b384-c79f7d5e927f/clear-people-picker-field?forum=sharepointcustomizationprevious

但是,现在看来,在这些值被消隐之后,控件需要另一个解析"操作来将其注册为完全空,否则在提交时会出现错误-未找到完全匹配".做一个的唯一方法 解决"操作是通过单击UI本身中的表单控件图标.我看不到使用规则来完成此操作的任何方式.

However, now it seems like after these values have been blanked, the control requires another 'resolve' action for it to register it as being completely empty, otherwise I get an error on Submit - "no exact match found". The only way of doing a 'resolve' action is by clicking on the form control icon in the UI itself. I don't see any way of using a rule to accomplish this.

有人知道这样做的任何方法或代码吗?

Does anyone know of any method, or code, for doing this?

推荐答案

您的专家,听起来像是愚蠢的问题,但是必填字段吗?其他任何规则,例如是否已禁用?
Hi sprocketeer- may sound like stupid questions, but is the field required? Any other rules on it, like is it disabled?


这篇关于Infopath 2010-无法使用规则清除人员选择字段.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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