How To Make A Dynamic PDF Stamp

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 356

  • @ambersharpe
    @ambersharpe 4 года назад +5

    Thank you so much for this!! It was extremely helpful! Our IT department just shrugged at me when I asked about javascript in a stamp

  • @LetysiaMoresco
    @LetysiaMoresco 4 года назад +3

    This video was extremely helpful. I ran into an issue with my javascript and David was very responsive and helped me get it working. Thank you for this!

  • @chadsway88
    @chadsway88 3 года назад +1

    Great video straight to the point! everyone else took forever and rambled nonsense

  • @hibob
    @hibob 3 года назад +1

    Love your three videos for creating stamps. I was able to create a transparent, dynamic stamp (once I typed the JavaScript correctly)! THANK YOU!

  • @skipmorgan
    @skipmorgan Год назад

    Very straightforward. Thanks, you are a very good teacher.

  • @duncanwright8692
    @duncanwright8692 3 года назад +1

    Thank you for your help, David. This has helped our business move to a paperless invoicing system.

  • @kryptonitekittee7665
    @kryptonitekittee7665 3 года назад +1

    Thank you so much! This is exactly what I was looking for. The separate scripts field is a brilliant idea! I was able to fix and really clean up my scripts thanks to your tutorial. Thank you, thank you, thank you!

  • @wadebryant6845
    @wadebryant6845 4 года назад

    I looked at quite a few resources to no avail. This allowed me to achieve exactly what I wanted. Thank you!

  • @cmcnett100
    @cmcnett100 4 года назад +1

    Thank you for this straightforward tutorial! It worked fantastically for me (I made some mods to suit my custom stamp) and will save me a lot of time!

  • @lukcza149
    @lukcza149 3 года назад +2

    Thank You! That was exactly what i needed! It seems that some heroes doesn't wear capes!

  • @MK-sx9rg
    @MK-sx9rg 5 лет назад +1

    one of the greatest tutorial I have everseen. thanks.

  • @jeff58240
    @jeff58240 4 года назад +1

    This is a great tutorial. Once I place the stamp and have entered data into it is there a way to correct a field that the user input. For example I have an order number field. If they enter the order number and then realize they forgot a digit is there a way to edit it without deleting the stamp and re-stamping it?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      We have developed some proprietary that will do that. We don't share these scripts but if you are interested in a stamp like this we can provide you with a quote to develop it for you. Please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @mtrakker1985
    @mtrakker1985 5 лет назад +1

    with this.templates, I've tried it in 2 different versions of pro but it returns null each time, is there something else that needs to occur before running this.templates?

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      You have to make sure your PDF is a template (listen to the first 25 seconds of the video). Here is the other video referenced:
      ruclips.net/video/7zeNyutB1no/видео.html . I hope this helps.

  • @alicetherrien7754
    @alicetherrien7754 4 года назад +1

    I am trying to created a dynamic stamp that contains 2 fields, First field = Date paid (with automatic date) and Second field = COTR# a field I can enter numeric data (8 digits max) each time I use the stamp but I cannot workout or find the script that suits my need. When I try to adapt scripts online, it seems there is a mistake in the formula. Please help me?
    if ((event.source.forReal)&&(event.source.stampName == “Dynamic”)
    {this.getField(“COTR”).value = app.response(“COTR#”);
    this.getField(“Date paid”).value = util.printd(“mm/dd/yyyy”, new Date ());
    }

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      There are many mistakes in your script. The main mistake is that it looks like you used a word processor like Microsoft Word to write your script. This caused curly quotation marks (''66" &"99") instead of straight quotation marks. You should always use a plain text editor like Notepad to write your script. The next error is in your stamp name. The name must start with the pound sign (#) in order to function properly. Next, you are missing a closing bracket after "Dynamic")
      Please fix all of these and try again.

  • @uncleistvan0824
    @uncleistvan0824 5 месяцев назад

    Thank you so much for these tutorials! I am trying to make a dynamic stamp that will allow the user to be able to select a date rather than have the date field automatically populate. Can you explain how to write the code for this?

    • @PDFAutomationStation
      @PDFAutomationStation  5 месяцев назад +1

      It's very complicated. You have to create a separate popup dialog date picker:
      pdfautomationstation.substack.com/p/pdf-popup-calendar-demand-drives
      We have one for sale on our website:
      www.pdfautomationstation.com/products/item7.cfm
      It can be triggered from a button in the main dialog that is triggered by the dynamic stamp. We can also provide you with a quote to program your stamp for you with a date picker for a date field. If you're interested please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @Brotelho2
    @Brotelho2 5 лет назад +25

    That poor keyboard...

  • @bahramazadi1406
    @bahramazadi1406 9 месяцев назад +1

    Greate training... woo thanks

    • @PDFAutomationStation
      @PDFAutomationStation  9 месяцев назад

      You're welcome. There's more here: pdfautomationstation.substack.com/

  • @super2hori2
    @super2hori2 Год назад

    Great video!
    I got the code and stamp to work correctly. For some reason I can't get this stamp to work on Adobe Reader DC. Does the JV not work on the Reader application?

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      It should work with Reader DC. Do you have the stamp file in the correct folder?

  • @e.c.8668
    @e.c.8668 4 месяца назад

    Is there a way to do this, but with putting a digital signature field in there? I watched the one about adding dynamic fields, but that only pulled your name from the properties of Acrobat.

    • @PDFAutomationStation
      @PDFAutomationStation  4 месяца назад

      Yes. It's complicated. You have to write a script that measures the location of the stamp when it lands, then creates a digital signature field relative to that location, then triggers the digital signature field for signing. The script to create the field is the document addField method. The script to trigger the field for signing is the field signatureSign method. Both of these can be researched in the Acrobat JavaScript Reference Guide: opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/index.html

  • @tonyhodge
    @tonyhodge 3 года назад

    Great demo, thank you. Is there a way to edit these fields once filled in, perhaps run through the pre-populated popups again?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      Yes, we have a few ways to do that but unfortunately that information is proprietary to our firm. If you would like a quote for development of an 'editable' dynamic stamp, please contact us here with details: www.pdfautomationstation.com/public/department6.cfm

  • @calummoy7149
    @calummoy7149 2 года назад

    Hello I have entered in multiple categories in the java script, however when I stamp the box to enter data doesn’t appear. Any Idea on how to fix this?

  • @bschols7504
    @bschols7504 10 часов назад

    What if I have two number fields that I want say form fields that I can change after I stamp, and then a third field that populates the user name? I am trying to create a stamp for receiving inventory

    • @PDFAutomationStation
      @PDFAutomationStation  9 часов назад

      If I understand you correctly you want to be able to change form field values after the stamp is placed? There are 2 ways to do this, but unfortunately they are too complicated to describe in this comment section or make a RUclips video about them.
      1) Create an editable dynamic stamp. When the stamp is applied after the first time, the fields in the popup dialog default to the previous values, but they are changeable.
      ruclips.net/video/j6hWgAKmB4c/видео.html
      2) Program the stamp to insert form fields onto the page when the stamp is placed.

    • @bschols7504
      @bschols7504 6 часов назад

      @@PDFAutomationStation Thank you, I will reach out and get an estimate to have one made

    • @PDFAutomationStation
      @PDFAutomationStation  6 часов назад

      @@bschols7504 If forgot to put the contact link. Here it is: www.pdfautomationstation.com/public/department6.cfm

  • @sylviegoulet445
    @sylviegoulet445 Год назад

    I am SO close. Not sure what the issue is. Can I email you directly pretty please?

  • @TheBigBakwas
    @TheBigBakwas 2 года назад

    Hi David, This is a great video with detailed information on what needs to be done for making a dynamic PDF stamp.
    However, I need to get a radio button selected when I insert the dynamic stamp. I only know basic JavaScript, so I am unable to implement the logic. Could you show me the way?

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      For check boxes, radio buttons, dropdowns, and multiple fields in one popup dialog window we us the app.execDialog function. The programming is too complex for RUclips video or article. If you would like a quote for us to program your stamp please contact us here with details: www.pdfautomationstation.com/public/department6.cfm
      Thank you.

  • @vickibrown8604
    @vickibrown8604 2 года назад

    I would like to use a dynamic stamp that I have created as a template and change a few fields. Can I do this without recreating the whole stamp. I have tried a few times by renaming it but it seems to make the code fail so I must be missing changing something that is embedded or hidden. Great video by the way. Thank you

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      I'm not sure what you mean. You can change all the fields you want without recreating the whole stamp. What are you renaming?

  • @padawanjesus
    @padawanjesus Год назад

    Hey, for some reason the bottom little bit of my stamp is transparent instead of a white background. Any idea how to fix that?
    Thx for the tutorial

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      If you created the stamp image from fields or annotations, you have to set the fill to white from "no fill" if you want it to be white instead of transparent.

    • @padawanjesus
      @padawanjesus Год назад

      nvm i figure everything out. thanks agian!

  • @leah4192
    @leah4192 Год назад

    Question.... I have created many stamps thanks to your video above... I am trying to advance, and have managed to make a nice stamp with all of the fields in one pop-up window. This lead to having 32 input fields in one pop up... So I thought, maybe I will separate it into 5 different scripts and see if I cant get them to pop up one after another... No dice, is this a possibility?

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      Yes you can do that. Create 3 separate popup dialogs then have the script run them consecutively.

  • @thanyananwimala3105
    @thanyananwimala3105 3 года назад

    Hi, I follow your instruction and create one that needs to add "Organization Name and Organization Unit" into my stamp but when I put the code this.getField("Company").value=identity.organizationName; the result shown in the field box said "undefined". Could you please help how can I solve this? appreciate your help.

  • @sophietyy
    @sophietyy 6 месяцев назад

    how can i create a today date stamp? i use script event.value=utility.printd(“dd mmm yyy”,new date) but it doesn’t change the date update

    • @PDFAutomationStation
      @PDFAutomationStation  6 месяцев назад

      You should start by using a plain text editor, like Notepad, to write your script. You have curly quotes in your script. You need straight quotes. A plain text editor will fix this. Also, there is no year format with 3 y's. There's either 2 (yy) or 4 (yyyy).

  • @tmirelle
    @tmirelle 2 года назад

    Hi! Awesome video, is there any chance that there is (or could be) a companion text file or something with the code snippets typed out so I could copy & paste to follow along?
    Sorry for the request to be spoon-fed. I am having such a hard time pausing & copying. Difficult to view on my tiny laptop screen :)

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад +1

      if(event.source.forReal && event.source.stampName=="#MyTestStamp")
      {
      this.getField("Amount").value = app.response("Amount:");
      this.getField("Approved").value = identity.name;
      this.getField("Date").value = util.printd("mm/dd/yyyy", new Date());
      }

  • @Eros4tw
    @Eros4tw 4 года назад

    So, I want to add several blank and fillable fields to a stamp. I dont really need them to be in any sort of specific format other than just allowing me to enter in whatever text I want into that field. I then need to be able to save the document, close it, and reopen it again at a later time and then possibly enter in additional information into any of the fields I have not yet entered into. And I need to do this to many documents. Is this possible? Or if not able to do this with Stamps, is there some other way of doing what im looking for?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Yes this is possible but it is too complicated for a RUclips video or short article. If you would like a quote for us to create the solution for you please contact us outside of RUclips: www.pdfautomationstation.com/public/department6.cfm

  • @Only-a-Guess
    @Only-a-Guess 2 года назад

    Hi, I need to add a stamp to welding drawings as a record on job completion which then allows me to enter a welders name and procedure number used on the job I need it to be text that I fill in each time because each welded component drawing will be done by a different welder to a different procedure. Is this easy to do ? it is basically a stamp with editable text boxes

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      You should be able to it by following this video, only you wouldn't have a date field or an automatic name field. Instead you would have 2 response field. However never use the response field when there is more than 1 because it is annoying for the end user to dismiss multiple text fields. We use a popup dialog window instead that contains all response fields in one window. This is too complex for a YT video. If you would like a quote please contact us outside of YT here: www.pdfautomationstation.com/public/department6.cfm

  • @jmemusic
    @jmemusic 3 месяца назад +1

    5:07 -> I'm just wondering how you run it. I press enter, but nothing happens
    Edit: By change I figured out that you have to press CTRL + Enter

    • @jmemusic
      @jmemusic 3 месяца назад +1

      Edit: I saw in your other video that you mentioned the "Enter" key from the numeric pad. It also works.

  • @jasonkirkland2121
    @jasonkirkland2121 4 года назад

    Awesome video. But is it possible to create a stamp that each line can be filled AFTER the stamp is placed?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Yes it is possible. However, it is extremely complex and beyond the scope of a RUclips video or article. If you would like a quote for us to create your stamp, please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @phazerworld6300
    @phazerworld6300 3 года назад

    I followed both the static stamp tutorial and the dynamic stamp tutorial. My Date and Approved By filed auto-populated. I also added 2 user entered field and was prompted to enter data but the entered data did not show up. Also, I added two check boxes but they do not seem to work at all. Im guessing that check boxes are not an option in the dynamic stamp? Does the static stamp mean that the data must be entered after the document is printed out (handwritten?) Lastly, I was hoping to make the stamp with a white background, but I was unable to make that work either.

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      To make the background white you need to make the background of your image white. I don't know why your prompts are not filling in the fields. I would have to inspect your file. For check boxes you would have to use text fields in the stamp and enter an X in the response box. We don't use the response box when there is more than one response because it is annoying for the user to have to dismiss all of those popup windows. We also don't use response boxes when there are check marks. Instead we use the execDialog function which allows multiple fields and multiple field types (check boxes) in one popup window. This function is too complicated for a short article or RUclips video. If you would like a quote for us to develop you stamp please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @derekhehn1321
    @derekhehn1321 2 года назад

    If I have 2 different dynamic stamps in 2 different pdf files (in the Stamps folder), is there a way to combine them into a single pdf for that folder so they'll both appear in the same group in the Stamps menu?

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      Yes you can combine them but you don't need to if the sole purpose is to have them in the same category. The category name is driven by the title of the PDF. All you have to do is change one title to match the title (stamp category) of the other PDF by pressing Ctrl + D to open the document properties, then changing the title field in the description tab. Don't forget to save the changes and restart Adobe so it picks up the new category for the stamps menu. If you really need to combine them you could drag the page of PDF 2 into the pages panel of PDF 1. In doing so you will lose the template status of the PDF 2 and have to recreate it under Templates in tools. You would name the page template the same as the original in PDF 2. If you can't get this to work please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @barnomoysaha1043
    @barnomoysaha1043 4 года назад

    Hi David, this was very useful. However, can we rewrite the script to choose which fields we want to update? I ask because I have a use case scenario wherein multiple people review a document and all of them stamp it after their review. Pulling different identities will also be great, in line with the user. Thanks

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      We can make a stamp for you that fills in different fields in steps or stages. However, it is too complicated to describe how to do it or to follow the description, which has taken years of scripting to develop. If you would like a quote please contact me outside of RUclips by completing this contact form: www.pdfautomationstation.com/public/department6.cfm

  • @laurapimentel8853
    @laurapimentel8853 3 года назад

    This was perfect and worked great, thank you!
    Could you offer a solution that would allow you to apply this same dynamic stamp to all the pages in a document with the information entered without being prompted to enter it once again for each sheet?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      We have a solution for that:
      www.pdfautomationstation.com/products/item13.cfm

  • @fossman03
    @fossman03 2 года назад

    This still works. Thanks!

  • @cathysechrist3896
    @cathysechrist3896 4 года назад

    I created my script exactly as shown in the video, cut and pasted exactly the same and I am getting a syntax error. missing ) after condition 2: at line 3. I have tried to add the missing ) but I can't seem to get it in the right place. Pleas help!

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      You are missing a closing bracket at the end of the first line. Pause the video her and pay close attention:
      ruclips.net/video/DePWr_1lnYg/видео.html

  • @mairacoupe8790
    @mairacoupe8790 3 года назад

    Thank you, I have found this so helpful. I'm having trouble figuring out I can add a digital signature to the dynamic stamp I'm creating, is this even possible? For some reason it also doesn't like my script it keeps telling me that I have an illegal character on line two but the only thing on line two is {. I don't know what to do.

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      Empty lines count as lines in the error message so if you have an empty line on line 1, the first line of code would be line 2. Please contact me outside of RUclips here and I'll take a look:
      www.pdfautomationstation.com/public/department6.cfm

    • @mairacoupe8790
      @mairacoupe8790 3 года назад

      @@PDFAutomationStation thank you I'll try that

    • @mairacoupe8790
      @mairacoupe8790 3 года назад

      So, I got it to work, got rid of the illegal characters but now that I have it saved it won't generate the fields.

  • @silentdwak
    @silentdwak Год назад

    hi, can you create a stamp with textboxes for 2 reviewers, where the first reviewer will put the stamp and the 2nd reviewer will just enter his/her initial, sign and date in the stamp.

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      Yes we can. Please contact us here outside of RUclips: www.pdfautomationstation.com/public/department6.cfm
      You can download this PDF to read about what we can regarding dynamic stamps: www.pdfautomationstation.com/public/How_To_Order_PDF_Stamps.pdf

  • @dineendns
    @dineendns 4 года назад

    David, I've watched both of your vids, making static and dynamic stamp. I had to tweak what you were showing to what I needed. I don't know JS at all so I'm kind of winging it. I accomplished what I needed but the stamps that I created are executing the two form field JSs BEFORE placing the stamp AND after placement. So it works, kinda. I just have to enter through the two executions before placing the stamp and then when the form fields pop up again after placement, it works fine. I know it must be something in the form field script that is generating the form field ask before and after. I know if you looked at my stamps, you would probably be able to see what's wrong immediately. I could use some help.

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      It sounds like you don't have the if statement right so it is running the calculation as soon as you hover over the stamp in the menu. It could also be that you have more than one calculations in more than one field. If this is not it, please send me an email by filling out this form and I will reply so you can send me the files. www.pdfautomationstation.com/public/department6.cfm

    • @dineendns
      @dineendns 4 года назад +1

      @@PDFAutomationStation I got this all figured out. Thank you so much for your tutorial.

  • @StarThistle1989
    @StarThistle1989 4 года назад

    Exactly what I needed, thank you so much. One thing to note - I did not have a search feature in Acrobat for my tools, so I had to manually locate some of the tools that I needed. For example, Page Templates was under Advanced >> Document Processing >> Page Templates. I am using Acrobat 9.0.
    This video, along with its predecessor, made it super easy for us to design a large quantity of custom business stamps (some with prompts to fill in information) and then easily import them in bulk into each employee's local folder. Made the process of batch importing business stamps super easy.
    Super appreciate and highly recommend.

  • @byeeself
    @byeeself 4 года назад

    Hi David. I enter the following code into the script box and it has the message: "Syntax Error: syntax error. 1: at line 2" referring to the { symbol. I double checked the quotation marks are straight (not curley). Any idea where the problem is at? Thank you!
    if ((event.source.forReal))&&(event.source.stampName == "#InvoiceApproval"))
    {
    this.getField("Date").value = util.printd("mm/dd/yyyy", new Date());
    this.getField("PO").value = app.response("PO Number: ");
    }

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      The number of opening brackets must match the number of closing brackets. You have 3 opening brackets (, and 4 closing brackets ). You have an extra closing bracket ) after forReal.

    • @byeeself
      @byeeself 4 года назад

      @@PDFAutomationStation That fixed that issue, however after adding this coding into the "script" object, I tried to stamp a document and it still shows an empty stamp (nothing filled in). My goal is to autofill the date and open a message box prompting for a PO number. Any other thoughts on where this went wrong? See scripting below for reference. Thank you!
      if ((event.source.forReal)&&(event.source.stampName == "#InvoiceApproval"))
      {
      this.getField("Date").value = util.printd("mm/dd/yyyy", new Date());
      this.getField("PO").value = app.response("PO Number:");
      }

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      @@byeeself I don't know what the script object is. Please contact us outside of RUclips here:
      www.pdfautomationstation.com/public/department6.cfm

  • @hemak6564
    @hemak6564 Год назад

    Hi thank you for amazing education. I am not able see my short cuts like stamp icon on my pdf page how do I do that thanks

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      You're welcome. To answer your question: ruclips.net/video/ynoGsgVse8U/видео.html

    • @hemak6564
      @hemak6564 Год назад

      Hi David, I have followed the tutorial exactly as yours- but can’t see “My Stamp Category “ for further editing. Please help. Thank you.

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      @@hemak6564 You need to be more specific if you want my help. Please contact me offline here: www.pdfautomationstation.com/public/department6.cfm

  • @taurianlayman952
    @taurianlayman952 4 года назад

    Hi David,
    This is great, thanks.
    This helped me to create two different stamps. I am however trying to change the date format to display as follows - "03 AUG 2020" I had it as "dd MMM yyyy", however when applying the stamp it leaves the month as a blank space. Is there a way to adjust the script to change the month to display in caps.
    Thanks,
    Taurian

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      The month needs to be lower case like this "dd mmm yyyy". If you need the month to be upper case you would do this:
      util.printd("dd mmm yyyy", new Date()).toUpperCase()

    • @taurianlayman952
      @taurianlayman952 4 года назад

      @@PDFAutomationStation thanks so much, its exactly what i wanted

  • @a240fal
    @a240fal 3 года назад

    Great explanation, thanks!

  • @JoelGraham-ki6uh
    @JoelGraham-ki6uh Год назад

    Will the date automatically change the next day? I've made these stamps before from different youtube videos, but the date never changes. Stays the same date each day.

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      The date is the current date that the stamp is applied. If you stamp today it will be today's date. If you stamp tomorrow it will be tomorrow's date.

    • @JoelGraham-ki6uh
      @JoelGraham-ki6uh Год назад

      @@PDFAutomationStation I tried using the stamp the last couple of days and the date won't change, what step am I missing in your video?

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      @@JoelGraham-ki6uh Please contact me offline here and I'll take a look at your stamp: www.pdfautomationstation.com/public/department6.cfm

  • @11122233jjjaaakkkeee
    @11122233jjjaaakkkeee 4 года назад

    I followed all of your steps in both creating a static stamp then making it dynamic. When i go to place the stamp, there is no prompt for user input and the other text fields don't fill in. Is there something wrong with my code?
    if ((event.source.forReal)&&(event.source.stampName == "#ShopDrawing"))
    {
    this.getField("Status").value = app.response("Status:");
    this.getField("By").value = identity.name;
    this.getField("Date").value = util.printd("mm/dd/yyyy", new Date());
    }

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Jake, your script looks good to me. A few things to check:
      1) After you apply the stamp press Ctrl + j to see if there are any errors in the console. One of the common ones is referencing a field that does not exist due to a typo or case sensitivity issue in your field names.
      2) Make sure the stamp file is in the correct folder.

  • @MK-sx9rg
    @MK-sx9rg 4 года назад

    Hi Dave,
    I have a question. Is there anyway to have add this ability to edit the stamp after entering all values?
    Right now I have dynamic stamp which after stamping and entering all values that the app response asks, it will printed on the pdf page. now i want to edit one of the values. but I can not. I have to delete the stamp and start the process from scratch again. Is there anyway to add this ability to edit the stamp after printing on the page?
    thanks.

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Yes. This is going to be a lengthy answer. We have developed what we call "editable" dynamic stamps and there are a couple of ways we can do this. Firstly, we only use the app.response function when there is only one user input. It is annoying to users to have to dismiss multiple windows when applying the stamp and not be able to see what they have typed in the previous field until the stamp is completed.
      We usually use popup dialog windows. Here is an example: ruclips.net/video/9EcUE8Kfecg/видео.html Unfortunately dialogs are much too complex to program for a quick RUclips tutorial. If you want to try, lookup the app.execDialog function in the Adobe JavaScript Reference. Back to the editable part. Up until now, our editable stamps have required users to re-apply the stamp when editing (without deleting the previous stamp). The dialog window field values would default to the values in the first stamp so users could change whatever they need to change and the stamp would automatically replace the first stamp. Here is an example: ruclips.net/video/j6hWgAKmB4c/видео.html We do not share our proprietary code for this as it gives a huge competitive advantage in our dynamic stamp business. One of the problems with this method is that it is only good for one stamp of the same type per document. In other words, it doesn't allow users to apply and edit multiple stamps of they same type in the same document. That has recently changed. We have developed a feature that allows users to apply the same stamp multiple times in the same document, select any one of the stamps, and edit the inputs for the particular stamp that has been selected. This is yet another leading-edge break-through for us and we will not be sharing the coding behind it. If you subscribe to this channel, follow us on Twitter, or subscribe to our newsletter we will be uploading a video demonstration in the weeks to come. If you have a stamp project that you would like us to quote, please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @Myrslokstok
    @Myrslokstok 2 года назад

    Thanks for the best tutorial, but my stamp dosn't update.
    I do not have Administration rights to the folder.
    My IT department helpt me to put the file in the right folder.
    I used the # at the begining of the name. When I test it out with the JS-console I get:
    [object Template="#myTestStamp=My Test Stamp"]
    But It dosn't update dynamicly when used.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      Please provide your full script.

    • @Myrslokstok
      @Myrslokstok 2 года назад

      @@PDFAutomationStation Adobe actually instructed me to reinstall alla my Adobe programs, I watched your videos and some more and it actually now works without the need for having the dynamic stamp in the "Application" folder witch I do not have access to.
      So great thanks for all the support.
      I now asked the question about "flattening" the stamp from the JavaScript, so it might work a bit more like Signing the document, but that I don't have to use both. It is not super important, it is internal working documents so I doubt anyone would realy care but it would be a nice thing.

  • @MichaelGreen831
    @MichaelGreen831 2 года назад

    Very nice videos. I'm having two weird effects:
    1. the null script in format custom isn't working. I still get null for the displayed values.
    if(event.value=="null")
    {event.value=""}
    2. the size of my stamp is much larger than yours. It's about 4"/3" and I have to reduce it every time. Is there a way to have the stamp come in smaller?

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      The size depends on the size that you created. It should be the exact size. Is the null script in the custom format location?

    • @MichaelGreen831
      @MichaelGreen831 2 года назад

      @@PDFAutomationStation
      1. Size: I thought so, so I created a new file / template based on a flattened copy of the original and with ruler turned on in the new file, reduced the size before cropping. No effect, both stamps, old and new, come in at the same (over) size.
      2. Null: Yes. I select the field, I choose the format tab, I select custom from the dropdown and then populate the script in Custom Format Script box.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      @@MichaelGreen831 1. Is possible the zoom is different from the file you created vs the file you are stamping? I have never seen a discrepancy in the size when using a .pdf file to create the graphic. Try this: stamp a blank stamp on a blank PDF page. Resize the stamp. Use that file to create a new stamp.
      2. Please contact me here and I will take a look at your file: www.pdfautomationstation.com/public/department6.cfm

  • @alicetherrien7754
    @alicetherrien7754 4 года назад

    I followed all the steps you mentioned. However, nothing happens when I insert the stamp, no identity or date or amount pop-up. What can it be. Is there something in Acrobat that needs to be set to enable for javascript to work properly?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      If you have any errors in your script it won't work. Press Ctrl + j after you apply the stamp to see if there are any errors in the console.

  • @cathysechrist3896
    @cathysechrist3896 4 года назад

    Thank You. I corrected my script however I can't get the script to launch. I created my stamp from Excel and converted to PDF. Do I have to create the stamp from scratch? Steps: Created stamp in Excel, converted to PDF, Prepared form, added and named text boxes, added a box for the script, saved and added the stamp to acrobat under dynamic stamp, opened the stamp from adobe, got my stamp name, added it to the script and added my script in the script box, saved the stamp, opened a pdf, dropped in the stamp from acrobat , positioned it to the right place and hit enter assuming that the script would launch. It didn't work :( What am I missing? Thank You!

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      No you don't have to create it from scratch but it does have to be a template. Please contact me outside of RUclips here and I will troubleshoot for you:
      www.pdfautomationstation.com/public/department6.cfm

  • @Salni
    @Salni 3 года назад

    How can I combine two app.responses so there is only one window where I can type in those two things?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      You have to use the app.execDialog function which allows unlimited fields and several different field types including text, dropdowns, check boxes, and radio radio buttons. The scripting for these popup dialog windows is much too complex for a quick RUclips video or short article. If you would like a quote for us to program your stamp for you please contact us offline here: www.pdfautomationstation.com/public/department6.cfm

  • @ashleypike435
    @ashleypike435 3 года назад

    I have completed the PDF stamp from scratch and have attempted to create the dynamic PDF stamp. When I save the stamp and re-open it, it is perfect. However, when I add it as a stamp in Adobe, it will not let me add text to the field that I created a text box for.

  • @ERCZ-4
    @ERCZ-4 3 года назад

    Thank you for the tutorial, but I have encountered a similar issue with the Script.
    SyntaxError: syntax error 1: line 2
    Below is my script
    If ((event.source.forReal)&&(event.source.stampName == “#ChequeNumber”))
    {
    this.getField(“NUMBER”).value = app.response(“NUMBER:”);
    }
    Would you please help me to take a loot at it? I tried many other brackets, but the error won't go away. Thank you so much!

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      It has nothing to do with the brackets. You can't use a word processor (like Microsoft Word) to write code. You have to use a plain text editor (like Notepad). You have curly quotes throughout your script. You need plain quotes " ", NOT “ ”.

  • @jacquieheritage2245
    @jacquieheritage2245 5 лет назад

    Hi David, I must have missed something but I don't know how to find the script in the text file? What do I do to get that?

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      You have to create it yourself in Notepad. Open a new Notepad file, pause the video, and type what you see on the screen.

  • @BethanyMurphy-k5q
    @BethanyMurphy-k5q 5 дней назад

    So my script is not working and it looks right to me. It’s saying the { is an illegal character. What’s going wrong?

    • @PDFAutomationStation
      @PDFAutomationStation  4 дня назад

      Please post your script.

    • @BethanyMurphy-k5q
      @BethanyMurphy-k5q 4 дня назад

      if ((event.source.forReal)&&(event.source.stampName == "#MyCodingStamp")
      {
      this.getField("Code").value = app.response("Code");
      this.getField("Approved By").value = identity.name;
      this.getField("Date").value = util.printd("dd/mm/yyy", new Date());
      }

    • @BethanyMurphy-k5q
      @BethanyMurphy-k5q 3 дня назад

      if ((event.source.forReal)&&(event.source.stampName == "#MyCodingStamp")
      {
      this.getField("Code").value = app.response("Code");
      this.getField("Approved By").value = identity.name;
      this.getField("Date").value = util.printd("dd/mm/yyy", new Date());
      }

  • @jessehamilton5805
    @jessehamilton5805 3 года назад

    Please help write the script as shown and keep getting a syntax error I have written in note pad but cant seem to make it work. Thanks

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      What does the syntax error say?

    • @jessehamilton5805
      @jessehamilton5805 3 года назад

      @@PDFAutomationStation missing ) after condition 2: at line 3

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      @@jessehamilton5805 You are missing the 2nd closing bracket. You must have a closing bracket for each opening bracket. It is cut off a some points in the video but shows at 2:41.

  • @balancedscales3420
    @balancedscales3420 7 месяцев назад

    what if we wanted it to allow us to chose a date?

    • @PDFAutomationStation
      @PDFAutomationStation  7 месяцев назад

      You would have to create your own Date-Picker popup dialog. This is extremely complicated: pdfautomationstation.substack.com/p/pdf-popup-calendar-demand-drives
      If you're interested in a quote for your stamp please contact me here: www.pdfautomationstation.com/public/department6.cfm

  • @ssandhyaprabhu
    @ssandhyaprabhu 5 лет назад

    Hi David How do i get more than one input from the user for example using it for coding invoices in accounting?

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      You create a popup dialog. Look up app.execDialog in the Adobe javascript reference.

  • @MK-sx9rg
    @MK-sx9rg 5 лет назад

    Hi,
    How can I use a dynamic stamp that I created for myself for another computer or account?
    I made one for myself based on your tutorial video. Now I want to give it to my coworkers. I tried to copy-paste the stamp file from my Roaming folder to another computer Roaming folder but the software did not recognize it (did see the stamp in stamp tool in the Adobe).
    I have to do it for about 20 computers and takes a long time to create a stamp then make it fillable and code everything. Do you have any solution?
    Milad

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад +1

      If the stamp works on your computer and you copy the stamp file to the correct folder on the other computer it should work on that computer as well. Ensure javascript is enabled on the 2nd computer.

    • @MK-sx9rg
      @MK-sx9rg 5 лет назад

      @@PDFAutomationStation Thank you so much. It worked perfectly. thanks for the help and quick response.

  • @RamonHPabon
    @RamonHPabon 2 года назад

    Hello! I just discovered your very informative and useful channel. I do not have the ideal jargon, as I am not a programmer but like to try and learn when in need. I am currently working with a custom dynamic stamp that has 3 fields. The first 2 fields prompt the user to enter text that will show on the stamp (the script for these 2 prompts are currently working fine). The third field is an empty field that requests for a signature. I already tried adding the "Digital Signature" field from the "Prepare Form" menu. It works when the stamp is opened by itself. However, when I stamp the documents, and click on the field the signature process doesn't start. I’ve been told that I have to develop a script for the field (calculated), that when the doc gets stamped, the signature field becomes active (like the sign tab) so that the user clicks on the signature field and the stamp starts the signing process. Currently, I am stamping the docs and then sign the stamp using the "Certificate" tool and then digitally sign by dragging the square where I want the signature. I’ve been on this for a long time researching and trying w/o success. Can you please help me with the script I need or suggest if there's any better/easier way to solve my problem? BTW, I am using Acrobat DC.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад +1

      Thank you for your inquiry. There are two methods to accomplish what you want and both are extremely complex so I won't go into full detail here. Not too many people know how to program these methods so it might be easier for us to provide you with a quote for your project. If you would like a quote please contact us outside of RUclips here: www.pdfautomationstation.com/public/department6.cfm
      Both methods involve programming the stamp to add the signature field to the document. Use the doc.addField() function to add the field. The inputs are field name, field type, page number, and rect. The tricky part is the rect (page location) as you would have to program the stamp to determine its location on the page and then do some math to locate the field relative to the stamp location. The other trick is to remember that "this" in the calculation is the document object of the stamp PDF, and NOT the PDF document being stamped. The document object of the PDF being stamped is event.source.source. Once the user stamps the document and the signature field is automatically added, the user would click the signature field to trigger the electronic signature. The 2nd method is similar to the first but additional programming is added to trigger the electronic signature automatically when the document is stamped. The JavaScript field method for triggering the electronic signature is signatureSign.

    • @RamonHPabon
      @RamonHPabon 2 года назад

      ​@@PDFAutomationStation - I'll give it a try on your suggestions and come back if needed. Thank you very much!!

  • @benjaminlaine8132
    @benjaminlaine8132 3 года назад

    David, what would be the correct script for the console if I wanted ONLY the custom input field to pop up with the sticker? I tried to copy your script verbatim except for the line for "Approved" and "Date" but it told me line 3 condition was incomplete. Appreciate your swift response on the other question

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      I don't understand what you are asking me. The script should be in a calculation property of a field, not in the console. If your script has an error I would need to see the script.

    • @benjaminlaine8132
      @benjaminlaine8132 3 года назад

      @@PDFAutomationStation I mispoke, I was referring to the calculation field (this is my first foray with javascript). I'm trying to make it so that when I paste the stamp I get a popup for a user input. The script I entered was:
      if ((event.source.forReal)&&(event.source.stampName == "#PaidStamp")
      {
      thisgetField("Amount").value = app.response("Amount:")
      }
      and I get the error message "SyntaxError: missing ) after condition 2; at line 3

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      @@benjaminlaine8132 2 Errors: You are missing a closing bracket at the end of "#PaidStamp". You are missing the period between this and getField. Should be this.getField.

    • @benjaminlaine8132
      @benjaminlaine8132 3 года назад +1

      @@PDFAutomationStation THANK YOU SO MUCH! At 7:30 you state the script would be different if you did it in the individual field. What would the change be?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      ​@@benjaminlaine8132 If you reference the field that the script is in you have to change "this.getField(field name)" to "event". That is, event.value instead of this.getField(field name).value

  • @bobatea1686
    @bobatea1686 4 года назад

    Hi there. What would the script be for just the auto populating todays date? Very new to this thanks!

    • @bobatea1686
      @bobatea1686 4 года назад

      I have tried this in the Acrobat JavaScript editor but get an "syntax error: illegal character "
      if ((event.source.forReal)&&(event.source.stampName == “#MyTestStamp”))
      {
      this.getField( “Date ") .value = util.printd("dd/mm/yyyy” , new Date());
      }

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      The line of code starts at 5:48 of the video.

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      @@bobatea1686 You are using curly quotes. You must use straight quotes. Do not paste from a word processing program like Microsoft Word. Use a plain text editor like Notepad.

    • @bobatea1686
      @bobatea1686 4 года назад +1

      @@PDFAutomationStation Thanks! I got it working!

  • @megankempenich973
    @megankempenich973 3 года назад

    Instead of an open text box, I'd like to make it so that when the stamp is placed, it prompts the user to select one of three pre-typed options (to eliminate typos). How do I achieve that?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      You could either use a dropdown field or 3 check boxes. For both of these options you would need a popup dialog window. The scripting for dialogs is too complex for short RUclips video or article. We develop custom dynamic stamps for a fee. If you are interested in a quote please contact us with details here: www.pdfautomationstation.com/public/department6.cfm

  • @jefflasco5992
    @jefflasco5992 5 лет назад

    Hi David, none of the console scripts run on my machine. I am using Adobe Pro Extended. Your version looks a bit different then mine, but the commands should work, Correct?

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      What happens when you run a script? Are you running the scripts correctly (pressing the Enter key on your number keypad, or press Ctrl + [the regular Enter key] if you don't have a number keypad)?

    • @jefflasco5992
      @jefflasco5992 4 года назад

      @@PDFAutomationStation I was able to finally get the name, I was hitting wrong enter key. I have followed this and the previous videos to a T. but I am not able to get he script to run when I stamp. I copied your code EXACTLY and it will not apply date or get identity, the Amount prompt will not even come up.

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      @@jefflasco5992 Jeff, let's take this offline. Please click here www.pdfautomationstation.com/public/department6.cfm and message me and I will reply by email.

  • @francebarbeau699
    @francebarbeau699 4 года назад

    Hi David, I have the same problem as Cathy Sechrist, I am getting a syntax error. missing ) after condition 2: at line 3. I'm using Adobe Acrobat Pro XI. This stamp would be very useful to me, please help. Thank you

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      That means you are missing a closing bracket ) at the end of the condition.

    • @francebarbeau699
      @francebarbeau699 4 года назад

      @@PDFAutomationStation if ((event.source.forReal)&&(event.source.stampName == "#ComptFB")
      {
      this.getField("Nom").value = identity.name;
      this.getField("Date").value = util.printd("dd/mm/yyyy", new Date());
      this.getField("Journal").value = app.response("#Journal");
      }

    • @francebarbeau699
      @francebarbeau699 4 года назад

      @@PDFAutomationStation I have tried all possible combination of brackets and none worked

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      @@francebarbeau699 You must have a closing bracket ) for every opening bracket (. In your first line you are missing a closing bracket at the end of the line.

    • @francebarbeau699
      @francebarbeau699 4 года назад +1

      @@PDFAutomationStation Thank you, it works, when you were showing the script in your notepad, the view did not show the 2nd bracket, but we see it when you paste it later on in the video. Thank you for your quick response, I appreciate it.

  • @mikey0480
    @mikey0480 4 года назад

    how would i add a 90 day date window for a stamp ??? kind of like an expiration date? for instance today is 1/6/2020 add 90 days to this date?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Using the example in the video for date field, change the date part of the script to the following:
      var date= new Date();
      date.setDate(date.getDate()+90);
      this.getField("Date").value = util.printd("mm/dd/yyyy",date);
      You can also change the 90 above to any number of days.

  • @kirastrange5526
    @kirastrange5526 3 года назад

    How do I stamp the dynamic stamp over multiple pages without having to re-fill the fillable fields each time?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      We created a tool for that: www.pdfautomationstation.com/products/item13.cfm

  • @daniellewalsh6970
    @daniellewalsh6970 4 года назад

    I tested my stamp and got the code to work and then went to save it and it wanted me to rename it and locate a folder to put it into. In your video it seemed to allow it to save it to the original file without any problems. Any suggestions?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      Save it somewhere else, like to your desktop. Then close it and drag it into the stamps folder and overwrite the old file.

    • @daniellewalsh6970
      @daniellewalsh6970 4 года назад +2

      @@PDFAutomationStation that seemed to work! Thanks!

  • @nigelhobden
    @nigelhobden 5 лет назад

    Hi David, In order to create custom stamps with some JV to add page numbers & dates, do I need to have the pro version or can I do this with standard free reader dc that has a stamp creation utility? many thanks

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад +1

      In order to insert javaScript into a dynamic stamp you need to add form fields to the stamp and then add the script to the calculation tab of one of the fields. This is usually done using Acrobat Pro. Form fields can be created in Reader by running a script in the console using the doc.addField function and then calculations inserted using the setAction function if you know what you're doing. We have a free tool to open the console in Reader, which can be downloaded here: www.pdfautomationstation.com/members/programs/fileinfo.cfm?id=29

    • @nigelhobden
      @nigelhobden 5 лет назад

      @@PDFAutomationStation Many thanks, now I just need to learn JS to create this, lol or just get Pro to use the inbuilt forms facilty.

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      @@nigelhobden Or you can contact us and ask for a quote. Best prices on the web for dynamic stamps: www.pdfautomationstation.com/public/department6.cfm

  • @merpmerp5059
    @merpmerp5059 2 года назад

    Hi Dave.
    I tried creating a stamp that just says "entered" at the top, and wanted to have the stamp auto populate the date.
    I tried 2 different scripts; the one you did in your video, and one listed on adobe's website. I'm using adobe pro dc if that matters.
    1.
    if((event.source.forReal)&&(event.source.stampName == "#Entered"))
    {
    this.getField("Date").value = until.printd("mm/dd/yyy", new Date());
    }
    2.
    event.value = until.printd("mm/dd/yyy", new date);
    Neither the way you showed in your tutorial and the version adobe lists on their website will populate the date when i add the stamp to any new pdf. are you able to help? Thanks!

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      The second script is incorrect and won't do anything. Use the first script but change "until" to "util".

    • @merpmerp5059
      @merpmerp5059 2 года назад

      @@PDFAutomationStation Thank you for your quick response!!
      so i deleted the previous stamp from adobe, made the changes you suggested and re did the steps to upload a new stamp and it still doesn't generate any date when i stamp. any suggestions ?

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      @@merpmerp5059 Please contact me outside of RUclips here www.pdfautomationstation.com/public/department6.cfm and I'll reply by email so you can send me your file.

  • @buttonface15
    @buttonface15 3 месяца назад

    Can someone help. I am having trouble getting the fields to come up when I apply the stamp to a document.

    • @PDFAutomationStation
      @PDFAutomationStation  3 месяца назад

      Please post your script.

    • @buttonface15
      @buttonface15 3 месяца назад

      @@PDFAutomationStation this.getField("Cost Centre").value = app.response("Cost Centre:");
      I did this for each of the fields I had but it came up when i entered the script but when I saved over the stamp it doesn't give me the field to enter like how whenn you saved over and yours opened mines did nothing

    • @buttonface15
      @buttonface15 3 месяца назад

      @@PDFAutomationStation var strText = this.getField("Account").value ;
      this.getField("Account #:").value = strText ;

    • @buttonface15
      @buttonface15 3 месяца назад

      @@PDFAutomationStation is there any way we can do a teams call or private email....because this is urgent

    • @PDFAutomationStation
      @PDFAutomationStation  3 месяца назад

      @@buttonface15 Please post your script.

  • @nathanbeer1279
    @nathanbeer1279 3 года назад

    Hi, I have the below code, and i have checked the name. but when i place the stamp, no dialogue box appears for me to populate.
    if((event.source.forReal)&&(event.source.stampName == "#AuthPayment"))
    {
    this.getField("P/O #").value = app.response("P/O #");
    this.getField("G/R #").value = app.response("G/R #");
    this.getField("Job").value = app.response("Job #");
    this.getField("Date #").value = app.response("Date");
    this.getField("Name").value = app.response("Name");
    }

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      The issue is most likely that the field names in your script do not match the actual field names in your PDF. They must match exactly, including case sensitive. Also, you should not use any special characters in your field name (like # and / ).

  • @benjaminlaine8132
    @benjaminlaine8132 3 года назад

    Is there anyway to add a field to the stamp without causing it to lose transparency? Whenever I attempt this process it saves the file with a white background instead of keeping the background transparent?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      Make sure the field fill color is set to "no color".

    • @benjaminlaine8132
      @benjaminlaine8132 3 года назад

      ​@@PDFAutomationStation I realized the issue was that I created stamp using adobe's built in tool, so when I tried to use the "prepare form" tool it was flattening the whole image and the white background became embedded in the stamp. I tried creating the stamp using the method from your previous video and the transparency was preserved.

    • @joshuadlamini7382
      @joshuadlamini7382 7 месяцев назад

      Hi, I've just spent 6 hours trying to figure out what could the problem causing this. It's simply the procedure of flattening the fields. In this video, David doesn't do it and the image loses transparency once you add a field (and the includes the script field itself). The solution is just to add the flattening function below your getField ('Date') function:
      if ((event.source.forReal)&&(event.source.stampName == "#TestStamp"))
      {
      this.getField('Date').value = util.printd("yyyy -mm- dd", new Date());
      this.flattenPages();
      }
      Gee.....What a headache

  • @leannsmith3580
    @leannsmith3580 4 года назад

    Will the date update each time it is opened? I need a date field that updates each time its open. Is that possible?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Yes. If you follow the date script in the video it will stamp the current date each time the stamp is applies.

  • @jmemusic
    @jmemusic 3 месяца назад

    It is a nice tutorial, thank you.
    On my case, I will have four fields, so, I guess you will get four dialogs; it would be nicer if you could just get everything on one dialog or directly editing the stamp fields, but I guess it is not possible.
    Update: It seems that it is possible though. There are Dialog Boxes that could be used inside a stamp. I haven't tried it yet, but looks promising.

    • @jmemusic
      @jmemusic 3 месяца назад

      Yes, with custom dialogs work. It is not easy though, but it will work. For the interested, look for:
      * Custom dialog boxes: Part 5 of 5 on popup windows by Tom Parker
      I can't post the link because RUclips will delete it. Buy you can just use google. There he has a nice tutorial and two PDF files with examples.
      Essentially, you just have to:
      1. Create a dialog inside the "if ((event.source.forReal) && (event.source.stampName ..." code from this video.
      2. The dialog will be assigned to a variable: "var formDialog = ... dialog definition"
      3. After the dialog code, you just have to have something like: "if(formDialog.DoDialog() == "ok") { ... do your stuff here }"
      4. Inside that if, you can then assign the dialog variables to the stamp field as follows: "this.getField("StampField").value = formDialog.dialogVar"
      Sorry if I don't write proper code, but RUclips doesn't like it.

    • @PDFAutomationStation
      @PDFAutomationStation  3 месяца назад

      It's absolutely possible by using the app.execDialog method. These popup dialogs are what we use in almost all of your dynamic stamps. All data entry fields are contained in one window because it is annoying for the user to have have to dismiss several popups and not be able to see what what entered previously. Popup dialogs are complicated to script. If you would like a quote for us to do it for you please contact me here: www.pdfautomationstation.com/public/department6.cfm

    • @jmemusic
      @jmemusic 3 месяца назад

      @@PDFAutomationStation As I said in my previous reply, I already implemented my dynamic stamps with custom dialogs. But thank you for the offer.

  • @joelvh1
    @joelvh1 2 года назад

    Hello David, I recently found your channel and immediately subscribe, great content.
    I had been trying to create a stamp that would add form field textboxes to my PDF documents so that other uses could enter information into the form fields. Found out later on that you couldn't do that, as the fields need to be flattened and the only way to enter information into the fields was through Java Script. I know some VB but no Java, going through your videos maybe I'll start to learn some Java as well.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      Thank you for the positive feedback. Yes you can use check boxes for the user but you do need a popup dialog window with check boxes, written in JavaScript.

  • @jafeenak.s7928
    @jafeenak.s7928 5 лет назад

    Is there a way to add the newly created stamp to Quick tool bar?

    • @PDFAutomationStation
      @PDFAutomationStation  5 лет назад

      Yes. You would have to create an add-on toolbar button using the app.addToolButton function and then call the stamp using the addAnnot function. It is pretty complicated. If you need a quote please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @jeaniferpwistorespw2646
    @jeaniferpwistorespw2646 6 месяцев назад

    I keep getting a calculation error when I try to run the code.

  • @jenborder3060
    @jenborder3060 3 года назад

    Is there a tutorial on how to share this stamp with others?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      No but all you have to do is send the PDF file to them and have them copy it to the user stamps folder.

  • @StarlightDreamer12
    @StarlightDreamer12 2 года назад

    Thank you for this and the other video about making a stamp! This was so helpful! This is pretty much exactly what I needed to do with stamps! I do have one question. I'm doing multiple "app.response" lines:
    this.getField("RecSealed").value = app.response("Received Sealed?");
    this.getField("Mail").value = app.response("Mail?");
    this.getField("SentTo").value = app.response("Sent to:");
    Right now, they pop up one at a time. Is there a simple way for them to be combined in one pop-up, or is that beyond the purview of this? I apologize if this is a stupid question. I don't know JavaScript at all.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад +1

      I'm glad you found the video helpful. We don't use the app.response function if there is more than one response. As you stated, we combine them into one popup using app.execDialog function. Unfortunately, this method is far from simple and is too complex for a quick article or RUclips video. If you would like a quote for us to program the stamp for you, please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @codyallarte6451
    @codyallarte6451 3 года назад

    When I place the stamp, there is no pop up prompting for information. Here is the script I am using, could you please help.
    if ((event.source.forReal)&&(event.source.stampName == "#Digital Invoice Stamp"))
    {
    this.getfield("Agreement Number").value = app.response("Agreement Number:");
    this.getfield("WO Number").value = app.response("WO Number:");
    this.getfield("Encumberence Number").value = app.response("Encumberence Number:");
    this.getfield("RC Number").value = app.response("RC Number:");
    this.getfield("Account Number").value = app.response("Account Number:");
    this.getfield("Billing Account Number").value = app.response("Billing Account Number:");
    this.getField("Approver").value = identity.name;
    }

  • @KurtReckerAdvertising
    @KurtReckerAdvertising 4 года назад

    Thank you for this great tutorial; my script debugger won't execute the prompt. I tried scrolling through this thread and a Google search and seemingly I'm the only one with this issue? I'm using Acrobat Pro DC

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      I'm not sure what you mean by your comment. The script needs to go into one of the fields in your stamp.

    • @KurtReckerAdvertising
      @KurtReckerAdvertising 4 года назад

      @@PDFAutomationStation I'm struggling to work the debugger to find the StampName

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      @@KurtReckerAdvertising What script are you running and what does the debugger return when you run the script?

    • @KurtReckerAdvertising
      @KurtReckerAdvertising 4 года назад

      @@PDFAutomationStation i figured it out by going back to your earlier tutorials--- thanks for your help, it works!

  • @shehzadulhassan4475
    @shehzadulhassan4475 4 года назад

    Great work.

  • @Ecualogic
    @Ecualogic 4 года назад

    Hi Dave, I have viewed both of the videos, creating stamp from scratch, and make a dynamic stamp. I am having a syntax error at the line that has the character { it says illegal character at that line where the { is at.
    I have the this.getField....... lines for each of the responses I want for the user to enter in the stamp.
    I followed the syntax you showed on the video, but for some reason, I am getting the syntax error at that special character. Please help me.

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      It sounds like you used a word processor like Microsoft Word to write you script. Did you?

    • @Ecualogic
      @Ecualogic 4 года назад

      PDF Automation Station yes

    • @Ecualogic
      @Ecualogic 4 года назад

      PDF Automation Station I have copied it to notepad and copy and pasted from notepad to adobe custom calculate

    • @Ecualogic
      @Ecualogic 4 года назад

      PDF Automation Station by the way, thank you very much for responding so fast, really appreciate it.

    • @Ecualogic
      @Ecualogic 4 года назад

      PDF Automation Station figured out the problem. It was “ the quotes, it had opening and closing “ quotes. Changed them in notepad and it accepted in the calculate box.

  • @chrisanderson1702
    @chrisanderson1702 Год назад

    I am really struggling with this. I am running Windows 10 Pro and Adobe Acrobat 9 Pro. I need to create a stamp that will automatically date at the time of stamp and then have a field that I can input information after the stamp. I am obviously doing something wrong. any ideas from anyone?

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      Exactly which part are you struggling with? The video shows both how to stamp an automatic date as well as how to enter text into a stamp field.

    • @chrisanderson1702
      @chrisanderson1702 Год назад

      Hi David, I am so sorry for wasting your time. I went through everything carefully and found that I had a space and a few lower case letters where I should have had upper case letters. Thank you so much for your response, all works ok now.

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад +1

      @@chrisanderson1702 I'm glad it works now. JavaScript is case sensitive and 9 times out 10, when I ask somebody to send me their script after an "it doesn't work" comment on RUclips, it is either the wrong case in a letter, or some other typo. -David Dagley, CEO, Forms Doctor Inc.

  • @kristinerobinson5593
    @kristinerobinson5593 4 года назад

    Is there a way to get the script to run if the user doesn't have Adobe DC?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      The script will run with any Adobe PDF viewer: Reader, Acrobat Reader DC, Acrobat Professional, Acrobat Pro DC, Acrobat Standard, Acrobat Standard DC

    • @kristinerobinson5593
      @kristinerobinson5593 4 года назад +1

      @@PDFAutomationStation Thanks, it worked after a reboot - not sure why it didn't work automatically! Wonderful video and assistance. I have been wanting to do something like this for over a year but didn't take the time to research. I will save a tree or two with this!

  • @alm613
    @alm613 4 года назад

    Hi - followed the tutorial but the prompts wont work - anyway I can email you directly?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      Please fill out this contact form and we will get back to you: www.pdfautomationstation.com/public/department6.cfm

  • @danielallmon2173
    @danielallmon2173 2 года назад

    Anyone know of a resource that can assist with creating a stamp with fields that allow the user to enter data not from the dynamic menu? I'm trying to create a stamp to approve invoices. Most of the information is easy (name, date, etc.) I've even created a separate stamp for each project number/cost center. It's the PO that changes every time. I've been having to add a text box over the stamp then flatten. Almost as much work as printing, signing, and scanning, but I aspire to remain as paperless as possible. At this point, I'll pay someone if they can make this stamp for me.

    • @PDFAutomationStation
      @PDFAutomationStation  2 года назад

      I'm sure what the purpose of "not from a dynamic menu" is. Perhaps you need an editable stamp like this: ruclips.net/video/j6hWgAKmB4c/видео.html
      You learn about all the capabilities of dynamic stamps by downloading the paper in the description above. We also have a link in the description to get a quote for us to program your stamp. Please contact us: www.pdfautomationstation.com/public/department6.cfm

  • @Samantha0207
    @Samantha0207 3 года назад

    Having difficulty saving the stamp i created as a template in adobe professional 8.0... anyone know how? thanks!

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      Professional 8 was so long ago that I can't remember how. But you can use a script to create a template. Run the follow script in the console:
      this.createTemplate("Name of your template", 0);
      Replace "Name of your template" with the actual name you want. 0 is the zero based page number so in this case it is the first page.

    • @Samantha0207
      @Samantha0207 3 года назад

      @@PDFAutomationStation
      Thanks so much for the reply!! I think it worked -->[object Template="My Test Stamp"] :D

    • @Samantha0207
      @Samantha0207 3 года назад

      Sorry, another question... here is the code I'm trying to use: if ((event.source.forReal)&&(event.source.stampName == "#MyTestStamp"))
      {
      this.getField("Work").value = app.response("Work Order:");
      this.getField("Date").value = util.printd("mmm dd, yyyy", new Date());
      }
      but when I test applying my stamp in a blank pdf, just the stamp comes up. Not really sure what could be going on?

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      @@Samantha0207 The template needs to have an equal sign in it to signify the stamp name. For example "#MyTestStamp=MyStamp".

    • @Samantha0207
      @Samantha0207 3 года назад

      @@PDFAutomationStation I really appreciate your responses! I've tried a few different combinations and still am stuck... if I run
      this.templates
      [object Template="#MyTestStamp = My Test Stamp"]
      so I input the "#MyTestStamp = My Test Stamp" into my script:
      if((event.source.forReal)&&(event.source.stampName == "#MyTestStamp = My Test Stamp"))
      {
      this.getField("Work").value=app.response("Work Order:");
      this.getField("Date").value=util.printd("mmm dd, yyyy", new Date());
      }
      and still nothing. :( I've even tried removing the spaces in the name like this:
      if((event.source.forReal)&&(event.source.stampName == "#MyTestStamp=MyTestStamp"))
      {
      this.getField("Work").value=app.response("Work Order:");
      this.getField("Date").value=util.printd("mmm dd, yyyy", new Date());
      }

  • @brentcallender5786
    @brentcallender5786 4 года назад

    Instead of amount i would like to write project number and let our employees input that value. Does anybody know how i would write that code ?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад +1

      It's no different except for the description in the response popup: app.response("Project Number:").

    • @brentcallender5786
      @brentcallender5786 4 года назад

      @@PDFAutomationStation thanks alot !!!! Im not a programmer im just trying to develop this dynamic stamp for us to use on our invoices !!! I got it to work thanks to your video (Y) GREAT STUFF !!!

  • @paulruvalcaba3630
    @paulruvalcaba3630 4 года назад

    So is it possible to create a stamp with just fillable fields without that java script pop up?

    • @PDFAutomationStation
      @PDFAutomationStation  4 года назад

      No. A stamp is a static image. If you want the user to be able to fill in form fields you would need a javascript popup to insert values into the fields before the static image is placed.

    • @paulruvalcaba3630
      @paulruvalcaba3630 4 года назад

      @@PDFAutomationStation Oh ok. I just want fillable fields and I'm not sure I understand what part to "repeat" on each line. Felt like there was too much going on in the tutorial. I kind of wanted more explanation. I can usually catch on and create reports on SQL but this was different.

    • @otm777
      @otm777 4 года назад

      ​@@paulruvalcaba3630 For each fillable filed in your stamp, you simply need to "add" a new app.response statement in the script. By doing so, the user will get an individual popup (one for each field requiring input) "before" the stamp is rendered/applied on-screen.
      So, you'd repeat this script below and replace the parts in " " accordingly:
      this.getField("FieldNameGoesHere").value = app.response("DesiredCaptionToShowInPopup:");
      Note:
      FieldNameGoesHere = Replace this with the appropriate field name on the stamp
      DesiredCaptionToShowInPopup: = Replace this with the desired caption text you want to see in the pop-up box above the input field
      Hope this helps.

  • @debmontone6931
    @debmontone6931 Год назад

    first off Thank you I read through all the comments and did find some errors for me to correct, I still get the SyntaxError:illegal character1: at line 2 I have Acrobat Pro DC

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад

      Please paste your script here. Illegal character is usually curly quotes instead of straight quotes that comes from writing your script in a Word processing program like MS Word instead of a plain text editor like Notepad.

    • @debmontone6931
      @debmontone6931 Год назад

      @@PDFAutomationStation
      if((event.source.forReal)&&(event.source.stampName==”#MailReceived”))
      {
      this.getField(“Received”).value = app.response(“Received”);
      this.getField”(“Name”).value = identity.name;
      thisget.Field(Date”).value = util.printd(“mm/dd/yyyy", new Date());
      }
      I would like the stamp to be able to type in how received.
      then my name and date
      windows 10 note pad I did see in the comments you had mentioned not to use word
      Kind regards,

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад +1

      @@debmontone6931 The script you pasted is full of curly quotation marks, has misplaced periods, and missing quotation marks. There are 12 such errors. Please review and correct carefully.

    • @debmontone6931
      @debmontone6931 Год назад

      @@PDFAutomationStation thank you it worked- is there a way to add time with date

    • @PDFAutomationStation
      @PDFAutomationStation  Год назад +1

      @@debmontone6931 Change "mm/dd/yyyy" to "mm/dd/yyyy H:MM tt"

  • @OCmeiwaku
    @OCmeiwaku 3 года назад

    this is for Adobe PRO only, you should include that in your title.

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад

      You need a PDF editor to create and manipulate PDFs. Adobe Pro is a PDF editor. You can still do this with Reader but since there is no interface for creating form fields (because it is a PDF "reader") you would have to use scripts to create the fields. Adobe Pro is not the only PDF editor. With all due respect we didn't think it was necessary to state in the title that you should use a PDF editor to edit a PDF but we thank you for you comment.

    • @OCmeiwaku
      @OCmeiwaku 3 года назад

      @@PDFAutomationStation As anyone can make a stamp (except for Dynamic ones) in Adobe Reader it would seem to be an important detail to include .

  • @jacintalauren6663
    @jacintalauren6663 3 года назад

    Hi - Thank you so much for the video - I have found it so helpful!
    I've created my stamp but it's got more fields than yours so I tried to edit your code to fit the stamp I created. When I test the stamp however only the Pay Date, and Entity work, while the cost code prompts me for a response but doesn't show up on the stamp once entered? Are you able to help me? I want the field "Approved" to be the identity name like in your video, the "Processed Date" to be the date the stamp is entered, the Entity/CostCode/Stage/Description to be able to be entered by the person
    My code is as follows
    if((event.source.forReal)&&(event.source.stampName == "#ApprovalStamp"))
    {
    this.getField("Pay Date").value=app.response("Pay Date:");
    this.getField("Entity").value=app.response("Entity:");
    this.getField("Code Code").value=app.response("Cost Code:");
    this.getField("Stage").value=app.response("Stage:");
    this.getField("Description").value=app.response("Description:");
    this.getField("Approved").value=identity.name;
    this.getField("Processed Date").value=util.printd("dd/mm/yyy", new Date ());
    }

    • @PDFAutomationStation
      @PDFAutomationStation  3 года назад +1

      It looks like your script had a spelling error "Code Code" instead of "Cost Code". BTW, we don't use the app.response method when creating stamps with more than once response as it is annoying for the end user to have to dismiss all of those popups. We can put all of the entries into on window. If you would like a quote for us to program your stamp in this way please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @PregnantWPossiblity
    @PregnantWPossiblity 3 года назад

    I am receiving a syntax error, 'missing ) after condition 2: at line 3. What am I missing? :-(
    if ((event.source.forReal) && (event.source.stampName == "#PubsStamp")
    {
    this.getField("TRNameNumber").value = app.response("TRNameNumber:");
    this.getField("EffectiveDate").value = util.printd("mm/dd/yyyy", new Date());
    }