Skip to main content
Inspiring
September 6, 2017
Answered

Dynamic stamp with acro dialog

  • September 6, 2017
  • 4 replies
  • 2822 views

Hi All,

I have created a stamp acrobat custom dialog containing a few fields. All works fine when I use the stamp first time but as I choose it again and put on document dialog does not appear for input.

I have many old stamps created in past. Those all also having same issue is there any issue with the code or problem with Acrobat DC. I remember all was fine with acrobat 11.

Please help.  Stamp triggering code is below.

if (event.source && event.source.forReal && event.source.stampName == "#vw3mBZoIDLu-YhiEXZcuvA") {

    if ("ok" == oDlg1.DoDialog()) {

  var   cMsg = oDlg1.sACC_No ;

        event.value = cMsg  ;

event.source.source.info.DocumentState = cMsg;

    }

}

This topic has been closed for replies.
Correct answer arvindkumar7

I updated acrobat and now the version is

All seems to be working fine now. Acro dialog is asking for inputs as many times as stamp placed which was not working earlier.

I hope acrobat works this way.

Thanks all guys for their time and support.

4 replies

arvindkumar7AuthorCorrect answer
Inspiring
September 13, 2017

I updated acrobat and now the version is

All seems to be working fine now. Acro dialog is asking for inputs as many times as stamp placed which was not working earlier.

I hope acrobat works this way.

Thanks all guys for their time and support.

Brainiac
September 12, 2017

How on earth can you say it's not a version issue? Are you an expert on version specific bugs?

Inspiring
September 12, 2017

I'm no expert at all, apologies. Said this because some stamp works in the same version on my laptop where mostly it doesn't.

I hope you are expert and can help me out this.

Inspiring
September 12, 2017

I would begin troubleshooting by moving all other custom stamp files out of the Stamps directory temporarily to make sure there's not a conflict.

PDF Automation Station
Adobe Expert
September 7, 2017

Your full dialog code needs to be inside

if (event.source && event.source.forReal && event.source.stampName == "#vw3mBZoIDLu-YhiEXZcuvA") {

}

not just the trigger for it.  Check the console.  It probably says oDlg1.DoDialog() is not a function, or oDlg1.DoDialog() is not defined.

Inspiring
September 7, 2017

What is the name of the corresponding template page in the stamp file?

Inspiring
September 7, 2017

Not sure sir what you are asking. Actual stamp is on page 3 in stamp pdf file.

Thanks

Inspiring
September 12, 2017

Can you share the stamp?


I tried again, just before sending the stamp and same problem. Working good in adobe reader but not acrobat.

Link to stamp

https://drive.google.com/open?id=0B3-Hr988WlLxd1NKNnpCWXVXdUEhttps://drive.google.com/open?id=0B3-Hr988WlLxd1NKNnpCWXVXdUE

Thank you
Arvind