Auto-populate form with date isn't working; stuck on last time script entered.
Hey all.
I'm preparing a new form for my office using Adobe Acrobat DC, and I'm trying to get the date to auto-populate in a form field. Following some instructions online, I set the field to be read-only, so users can't mess with it, and set it to calculate with the following custom calculation script:
-------------------------------
var today = new Date();
event.value = util.printd("m/d/yy", today);
------------------------------
This does, indeed, pull up the current date, but not dynamically: if I enter the script today, 11/25/19, it pulls that up, but if I open the document tomorrow, it'll still say 11/25/19, unless I re-enter the script, at which point it updates.
Thanks, in advance, for your help.
