重置整个节点 InfoPath 2007
我已经构建了一个 InfoPath 表单。我想要做的是有一个重置按钮,可以清除填充数据的整个节点。我已经看到了一些解决方案,但这似乎是一个相对简单的页面请求。有没有一种快速方法可以将整个节点重置为其默认配置?
提前致谢!
马特
I have an InfoPath Form built. What I am looking to do is have a reset button that clears and entire node of populated data. I have seen a few solutions out there but this seems like a relatively simple request of a page. Is there a quick way to reset an entire node to its default configuration?
Thanks in Advance!
Matt
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这似乎已经解决了。
之后,您只需调用要清除的任何节点并将其作为 XPathNavigator 传入即可。它解决了我存储的所有内容,但我很好奇它将如何处理具有布尔值等默认值的重置字段。
This seems to have solved it.
After that you just call whatever node you want cleared and pass it in as an XPathNavigator and away you go. It solved everything I was storing but I am curious how it would handle resetting fields with default values like a boolean or something.