gpt4 book ai didi

submit - 在表单中保留原始 InfoPath 提交日期

转载 作者:行者123 更新时间:2023-12-04 05:14:45 26 4
gpt4 key购买 nike

表单提交到电子邮件。我想将提交日期作为变量。使用 now() 设置变量是不够的,因为在提交后再次打开表单时变量会发生变化。

最佳答案

一些可能的解决方案:

  • Simply create a field in your form, set its default value to the now() function, and uncheck "Update this value when the result of the formula is recalculated." and you should be all set.



    通过 http://www.infopathdev.com/forums/p/12569/44295.aspx#44295
  • 创建变量 submissionDate存储提交日期。当用户提交表单时,设置 submissionDate到当前日期。如果变量尚未包含值,则添加检查以仅设置日期。如果没有以这种方式实现,这个想法可以以某种形式使用。我不明白为什么它不起作用。
  • 与此处建议的 #2 类似的解决方案:I need a submit date that doesn't change .

    You just need to add a field to your form which saves the original file name.

    Have a rule on open which if filename is blank, sets is to your concat (addedtotable, ID). Then in your SP submit use this field as the file name.

    On subsequent opens since it has a value the file name will not change.

    On your exisitng forms you will need to manually set this since you want to retain the original file name but on any new this solves your issue.

    Another option is to query the document library and maybe look for your user's name if you identify the user and the most recent file they have opened.

  • 这里还有一些建议:Submitting Infopath forms to a Sharepoint Library - how can I generate a unique name for each record .
  • 关于submit - 在表单中保留原始 InfoPath 提交日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14431687/

    26 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com