Good afternoon,
I've got a signature field called "sgnPOC" and a date field called "sgnPOCDate" I'd like to have the date field filled in automatically when the sgnPOC is digitally signed.
I added the following to the postSign* event to sgnPOC.
FORM.Main.sgnPOCDate.rawValue = util.printd("mm/dd/yyyy", new Date());
and different variations including setting the date to yyyymmdd and like. It just won't auto populate. It passes the script check in the script editor.
any ideas?
Thank you.
Solved! Go to Solution.
Views
Replies
Total Likes
FORM.Main.sgnPOC::postSign - (JavaScript, client)
FORM.Main.sgnPOC::postSign - (FormCalc, client)
Hi,
I suggest you to use Formcalc for this which it is more convenient to use this language for dates when using Livecycle..
var myDate = date()
$.rawValue = Num2Date(myDate, "YYYY-MM-DD")
Views
Replies
Total Likes
Thank you,
I tried the following - to no success.
I also tried this
Which also did not work, but wouldn't that need to know where to put the date?
Views
Replies
Total Likes
FORM.Main.sgnPOC::postSign - (JavaScript, client)
FORM.Main.sgnPOC::postSign - (FormCalc, client)
ahh thank you, I completely missed that!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies