在其他文本框Infopath的基础上填充文本框的值
我是信息路径新手。我想根据 SharePoint 列表中其他文本框 a 的值设置文本框 b 的值。在Infopath vsta中,文本框a onchanged事件我正在设置文本框b的值,只要我通过infopath上的预览进行检查,该值就可以正常工作。 但是,当我通过管理批准模板作为我的共享点文档库的内容类型部署这个简单的表单时。表单在 Web 浏览器中打开,但在文本框 a 的更改事件上不起作用(异步)。相反,当我点击提交按钮时它就起作用了。 提交逻辑是将这个表单提交到文档库。 在 infopath 配置中,我已给出表单完全信任级别。
任何想法为什么它不能按预期工作。或者这是除了信息路径编程之外的任何其他解决方案?
i am new to infopath. i want to set the value of textbox b based on the value of other textbox a from SharePoint list. In Infopath vsta, textbox a onchanged event i am setting the value of textbox b which work ok as far as i check through preview on infopath.
But when i deploy this simple form through administration approve template as content type to my sharepoint document library. the form opens in the web browser but on change event of textbox a is not working (asynchronously). instead it works when i hit the submit button.
submission logic is to submit this form to document library.
in infopath configuration i have given the form full trust level.
Any Idea why its not working as expected. or is this any other solution apart from infopath programming?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
文本框属性->浏览器表单 -> “总是”。
OnChanged 事件处理程序的存在不会触发回发(这是需要的,因为代码在服务器上运行,而不是在浏览器中运行)。
Text box properties -> browser forms -> "Always".
Presence of the OnChanged event handler does not trigger postback (which is needed as code runs on server, not in the browser).