Add document level script in PDF
Hello,
We want to automate the proess to add script in PDF file using some PDF SDK or API.
We want to add a field in PDF file and execute Script to display today's date whenever user open's file to print it.
var theDate = new Date();
theDate = theDate.setDate(theDate.getDate() + 28);
this.getField("Today").value = util.printd("mm/dd/yyyy", new Date());
this.getField("InOneMonth").value = util.printd("mm/dd/yyyy", theDate);
Below article specifies the steps but we want to achive it through code / api integration.
Thanks in advance.
