Do you want an Acrobat Dynamic stamp applied?
If not, are you sumbitting to a web script page for processing, this method can return an FDF that has the date time stamp of the mailing.
If you are using the client's email for the submission, then you can fill in a date time field prior to issuing the maill form, but be aware that the user can cancel the mail action within their mail client.
// get the current date/time object
var oNow = new Date();
// create date time sring for sumbission
var sSubDate = util.printd("dd/mmm/yyyy h:mm tt", oNow);
// fillin field for date and time of sumission
this.getField("SubmitDate").value = sSubDate;
// additional code to submit the form
I don't want to use Dynamic Stamp in Acrobat, as there are significant changes to be performed.
To use the script that was provided, do I need to create a new field for the date. Or do I just insert this script before the "submit" script.
Thank you so much for the help!
Yes you need to create a form field to receive the data before the form is saved and emailed.