Infopath Web 表单 - 提交和切换视图
我有一个信息路径表单,用作 MOSS 工作流程的一部分。
该表单有多个视图,每个视图上都有一个Save
按钮。作为 Save
按钮规则的一部分,我想要做的是提交信息并切换到下一个视图。
我在按钮上添加了两条规则,一条用于提交数据,另一条用于切换视图,但是当我重新输入表单时,它不会保存信息。
但是,如果我将切换视图操作替换为“关闭表单”操作,那么当我重新输入表单时,它将保存所有字段(如预期)。
有人遇到过类似的问题吗?有什么解决办法吗?
我的表单没有任何 VB 或 C# 代码,因此没有任何与之相关的内容可发布。
I have an infopath form that I use as part of a MOSS workflow.
The form has multiple views, and a Save
button on each one. What I want to do as part of the Save
button's rules, is submit the information and switch to the next view.
I added two rules to the button, one to submit data and another to switch view, but when I re-enter the form, it won't have the information saved.
If I replace the switch view action by a Close Form
action, however, when I reenter the form it will have all the fields saved (as expected).
Has anyone run into a similar issue? Any workaround?
My form doesn't have any VB or C# code, so there's nothing to post related to that.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,我在将多个操作与提交结合起来时遇到了类似的问题(提交似乎不确定地触发)。我强烈建议将“保存”和“切换视图”操作重构为不同的按钮,以避免这些问题。
I've actually run into similar issues with combining multiple actions with a submit (the submit seems to fire non-deterministically). I'd highly recommend refactoring the "save" and "switch view" actions into different buttons to avoid these issues.
默认情况下,infopath 将打开默认视图。这似乎发生在你的情况下
似乎你需要使用工具>表单选项菜单项。在打开和保存类别下有一个开放规则行为。从那里您可以指定要切换视图的条件
我正在使用 infopath 2007 但 2003 非常相似。
By default infopath will open to the default view. which appears to be happening in your case
It seems that you need to use the tools>form options menu item. under the open and save category there is a open rules behaviour. from there you can specify the conditions that you want to switch the view
I am using infopath 2007 but 2003 is very similar.