Custom Date Received Stamp
I have created a custom date received stamp that asks for the date from the user. If the user leaves it blank it defaults to the current date. This stamp works perfect in Acrobat 11 but when i put the stamp in Adobe ReaderDC it works as long as you enter a date but returns a blank line if the user leaves the prompt empty rather than return the current date. Here is the code I used.
var cAsk = "Enter Date Received - Leave Blank For Current Date";
var cTitle = "Date Stamp Date";
if(event.source.forReal &&
(event.source.stampName == "#xM1uT4oWyH3DQs6bmmc9CC"))
{
var cMsg = app.response(cAsk, cTitle);
event.value = cMsg;
event.source.source.info.DocumentState = cMsg;
}
if (event.value=="") event.value = (new Date()).toString();
Anyone have any suggestions to make this work in ReaderDC?
Mike
