automatisches Datum beim Öffnen.
{
event.value = util.printd("dd.mm.yyyy", new Date())
Hello, I have designed a form in InDesign and exported it as PDF.
I have created a text field in which the current date should be automatically inserted into this text field the first time it is opened and should not be changed again (not even the next time it is opened).
The code:
if(event.value == "")
{
event.value = util.printd("dd.mm.yyyy", new Date())
}
Now I am the author and I have to write the code in Acrobat.
However, it already sets the date, which should only happen when the actual user opens and saves the code for the first time?
How can you solve this?
Thanks
