How to create dynamic PDF stamp?
We are trying to setup a dynamic stamp in Adobe Acrobat Standard DC 2015. We have created the file and the stamp is working as a static stamp. We would like to automatically insert the current date and open a user input window to enter a line of characters. I don't have any javascript experience and we have been trying to piece together how to do this from articles on the web. What we have so far is
var cDate = util.printd("dd/mm/yyyy", new Date());
var cAsk = "Payment Method" ;
var cTitle = "Payment Method: ";
if(event.source.forReal && (event.source.stampName == "#paid_stamp"))
{
var cMsg = app.response(cAsk, cTitle);
event.value = cMsg;
event.source.source.info.exhibit = cMsg;
}
We have gone into Prepare Form and put this into the Text Field Properties / Calculate tab of the first text filed (the date field). Does anyone have a step-by-step guide on how to make this work. It seems very complicated for such a simple requirement.
