• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Creating an interactive Date Stamp

Community Beginner ,
Sep 27, 2019 Sep 27, 2019

Copy link to clipboard

Copied

I have seen this question posted often, but I just cannot find the answer, and it seems like it should be simple.

 

I want to create a dynamic stamp that asks the user to input the date a document was filed, which may be a date earlier than the current day (so I can't use the automatic date.)

 

I just can't figure out how to do this, whether using app.response or anything else.  I have looked over Thom Parker's tutorial and I still don't get it.

 

I have created the stamp, I have the text box ready, but I just can't figure out the script to do what I need.  It seems like it should be easy, cut blearly I am missing something.  I know nothing about coding or programming.

Views

5.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Beginner , Oct 03, 2019 Oct 03, 2019

Hi, everyone - just a quick update.  I figured it out, based on some online resources I found. Mercy, it shouldn't have been so difficult.

 

But, to recap:  I need a stamp to ask the user to enter the date a document is filed.  That's it.  We can't use the date from the system as that could be a different date than the filing date.  So, I looked around, pieced together different codes until I found out why it wasn't working - and I needed to upgrade my version of Acrobat so I could actually get th

...

Votes

Translate

Translate
Community Expert , Oct 31, 2019 Oct 31, 2019

The correct answer was found in a very popular article that has been around for quite some time and is referenced quite often on this forum (well, actually the old one since this one is new).

Here it is:

https://acrobatusers.com/tutorials/dynamic_stamp_secrets

Votes

Translate

Translate
Community Expert ,
Sep 28, 2019 Sep 28, 2019

Copy link to clipboard

Copied

Download and run the Acrobat Action: Filename Stamper.

 

https://www.google.com/url?sa=t&source=web&rct=j&url=https://acrobatusers.com/assets/uploads/actions...

 

This action wizard allows you to grab frombthe Document Properties whatever it is you want to stamp.

 

In order to get the original date that your document(s) were created you need to go to File----Document Properties----Additional Metadata

You will see the date that the document was created from there

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 29, 2019 Sep 29, 2019

Copy link to clipboard

Copied

Thanks, but this isn't exactly what I need. I need to be able to type in the date the document was filed with my office, which could be several days, weeks, or months after the document was created. So, the date created doesn't work for me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2019 Sep 30, 2019

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 30, 2019 Sep 30, 2019

Copy link to clipboard

Copied

How do I import it? I have Acrobat Standard 2017. I don't see any option to import it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2019 Sep 30, 2019

Copy link to clipboard

Copied

Hi, you have to save the downloadd file to the desktop or a folder of your choice. Then, once it is downloaded, you right-click on the file and your operating system (Windows, for example) will provide a context menu that will pop... the first option in that context menu (from top to bottom) will provide you an option in bold letters that says: "Import Action". Once it is imported it will notify if the import was successful; open your adobe acroobat, click on search tools, type in the name of the action tool that you've just imported and it will show for you to select it and start workign with it

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 30, 2019 Sep 30, 2019

Copy link to clipboard

Copied

Actions are only in Acrobat Pro.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 30, 2019 Sep 30, 2019

Copy link to clipboard

Copied

Tracking, thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 03, 2019 Oct 03, 2019

Copy link to clipboard

Copied

Hi, everyone - just a quick update.  I figured it out, based on some online resources I found. Mercy, it shouldn't have been so difficult.

 

But, to recap:  I need a stamp to ask the user to enter the date a document is filed.  That's it.  We can't use the date from the system as that could be a different date than the filing date.  So, I looked around, pieced together different codes until I found out why it wasn't working - and I needed to upgrade my version of Acrobat so I could actually get the Java Script debugger to work.  Once I did that, I was able to find the main problem - finding the true name of the stamp.  At any rate, if anyone is interested, here is the code I used:

--- BEGIN CODE---

var cAsk = "Date of Filing:";
var cTitle = "Date Filed with the Office of Census Data";

if (event.source.forReal && (event.source.stampName == "#2QNz0Z9AwlOH_hzlTW6puC"))

{

var cMsg = app.response(cAsk, cTitle);
event.value = cMsg;

}

--- END CODE---

 

Works like a charm.  Thanks for all the feedback!

Mark

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2019 Oct 03, 2019

Copy link to clipboard

Copied

This is some great info! thank you so much for sharing.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

Additional question: can I use acrobat x standard to create a stamp? Or do I need another program?  Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

LATEST

If you can edit a form field, then you can create a dynamic stamp.  

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 31, 2019 Oct 31, 2019

Copy link to clipboard

Copied

The correct answer was found in a very popular article that has been around for quite some time and is referenced quite often on this forum (well, actually the old one since this one is new).

Here it is:

https://acrobatusers.com/tutorials/dynamic_stamp_secrets

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines