I have an Adobe form that automatically populates the date and time of a request and then is emailed (fdf) for fulfillment. When the recipient opens the form, the time changes to the current time. The code that I am using is:
this.getField("RequestDate").value = util.printd("m/d/yyyy HH:MM", new Date());
and it is in the custom calculation script on the Calculate tab. The ideal situation would be that all data sent becomes write protected once it is submitted, but I need the date/time to become static once they hit the submit button.
Would I have better luck using the Actions tab? If so, how?
Any suggestions for improving this situation will be greatly appreciated.