我们可以将 infopath 形式的重复表中一个字段的值复制到另一个字段吗?
大家好,谁能告诉我当我们插入另一行时如何将重复表中的字段值复制到另一个字段。这就像亚马逊结帐流程一样。在亚马逊结帐过程中,当我们的帐单地址与送货地址相同时,我们必须单击复选框。
在这种情况下,我在重复表中有一个文本框和下拉框字段。当我在文本框中写入内容并插入另一行时。问题来了,我在下拉框中插入了一个值,当在下拉框中选择该值时,父节点中的文本框值应该复制到子节点。这必须在没有任何隐藏代码的情况下完成。
请帮助我解决这个问题
Hi guys can anyone tell me how to copy a field value in a repeating table to another field when we insert another row. It is just like amazon checkout process. In Amazon checkout process we have to click a check box when our billing address is same as our shipping address.
In this scenario am having one text box and drop down box fields in a repeating table. When am writing something in the text box and inserting another row. here come the problem I have inserted a value in the drop down box, when the value is selected in the drop down box the textbox value from the parent should be copied to the child node. This has to be done without any code behind.
Please help me regarding this issue
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能可以使用子节点的默认值来执行此操作。
默认值可以引用主数据源或任何辅助数据源上的另一个字段。
我假设当用户添加另一个子节点时您不希望进行此更新。如果是这种情况,那么您需要取消选中“重新计算公式值时更新此值”。
You could probably do this using the default value of the child node.
The default value can reference another field either on your main datasource or any secondary datasource.
I would assume that you don't want this updating when the user adds another child node. If that is the case then you will need to uncheck the "Update this value when the value of the foumlua is recalculated."