How To Make A Dynamic PDF Stamp

Тәжірибелік нұсқаулар және стиль

Learn JavaScript for Acrobat Pro. Take the eLearning Course:
www.pdfautomationstation.com/...
Weekly tips and tricks column:
pdfautomationstation.substack...
This video shows how to add dynamic fields to a PDF stamp including how to automatically insert today's date and automatically insert the name from the Adobe identity. It also collects a response from the user through a popup window and inserts the response into the field. Learn how to make a static PDF stamp from scratch in this video: • How To Create A PDF St...
To learn about the capabilities of custom dynamic stamps, download this paper:
pdfautomationstation.com/publ...
To get a quote for a custom stamp, contact us here:
www.pdfautomationstation.com/...

Пікірлер: 334

  • @LetysiaMoresco
    @LetysiaMoresco4 жыл бұрын

    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!

  • @kryptonitekittee7665
    @kryptonitekittee76652 жыл бұрын

    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!

  • @hibob
    @hibob2 жыл бұрын

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

  • @cmcnett100
    @cmcnett1004 жыл бұрын

    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!

  • @ambersharpe
    @ambersharpe4 жыл бұрын

    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

  • @duncanwright8692
    @duncanwright86923 жыл бұрын

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

  • @lukcza149
    @lukcza1493 жыл бұрын

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

  • @MK-sx9rg
    @MK-sx9rg4 жыл бұрын

    one of the greatest tutorial I have everseen. thanks.

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    Thank you for the positive feedback.

  • @wadebryant6845
    @wadebryant68454 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    Glad we could help!

  • @a240fal
    @a240fal3 жыл бұрын

    Great explanation, thanks!

  • @skipmorgan
    @skipmorgan Жыл бұрын

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

  • @fossman03
    @fossman032 жыл бұрын

    This still works. Thanks!

  • @shehzadulhassan4475
    @shehzadulhassan44754 жыл бұрын

    Great work.

  • @chadsway88
    @chadsway883 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    Thanks for the positive feedback!

  • @tonyhodge
    @tonyhodge3 жыл бұрын

    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

  • @jeff58240
    @jeff582404 жыл бұрын

    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

  • @laurapimentel8853
    @laurapimentel88532 жыл бұрын

    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

    2 жыл бұрын

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

  • @uncleistvan0824
    @uncleistvan0824Ай бұрын

    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

    Ай бұрын

    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

  • @jmemusic
    @jmemusic7 күн бұрын

    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

    7 күн бұрын

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

  • @TheBigBakwas
    @TheBigBakwas2 жыл бұрын

    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 KZread 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.

  • @bahramazadi1406
    @bahramazadi14065 ай бұрын

    Greate training... woo thanks

  • @PDFAutomationStation

    @PDFAutomationStation

    5 ай бұрын

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

  • @barnomoysaha1043
    @barnomoysaha10433 жыл бұрын

    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

    3 жыл бұрын

    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 KZread by completing this contact form: www.pdfautomationstation.com/public/department6.cfm

  • @mtrakker1985
    @mtrakker19854 жыл бұрын

    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

    4 жыл бұрын

    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: kzread.info/dash/bejne/aa6ZsNuupKWXntI.html . I hope this helps.

  • @tmirelle
    @tmirelle Жыл бұрын

    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

    Жыл бұрын

    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()); }

  • @joelvh1
    @joelvh1 Жыл бұрын

    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

    Жыл бұрын

    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.

  • @ssandhyaprabhu
    @ssandhyaprabhu5 жыл бұрын

    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.

  • @dineendns
    @dineendns4 жыл бұрын

    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 жыл бұрын

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

  • @taurianlayman952
    @taurianlayman9523 жыл бұрын

    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

    3 жыл бұрын

    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

    3 жыл бұрын

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

  • @Only-a-Guess
    @Only-a-Guess2 жыл бұрын

    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

  • @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Ай бұрын

    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

    Ай бұрын

    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

  • @vickibrown8604
    @vickibrown86042 жыл бұрын

    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?

  • @mairacoupe8790
    @mairacoupe87902 жыл бұрын

    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

    2 жыл бұрын

    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 KZread here and I'll take a look: www.pdfautomationstation.com/public/department6.cfm

  • @mairacoupe8790

    @mairacoupe8790

    2 жыл бұрын

    @@PDFAutomationStation thank you I'll try that

  • @mairacoupe8790

    @mairacoupe8790

    2 жыл бұрын

    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.

  • @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.

  • @silentdwak
    @silentdwak11 ай бұрын

    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

    11 ай бұрын

    Yes we can. Please contact us here outside of KZread: 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

  • @phazerworld6300
    @phazerworld63003 жыл бұрын

    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 KZread video. If you would like a quote for us to develop you stamp please contact us here: www.pdfautomationstation.com/public/department6.cfm

  • @StarThistle1989
    @StarThistle19894 жыл бұрын

    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.

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    The tools search feature was introduced in Acrobat Pro DC.

  • @jacquieheritage2245
    @jacquieheritage22455 жыл бұрын

    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.

  • @MK-sx9rg
    @MK-sx9rg4 жыл бұрын

    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: kzread.info/dash/bejne/a3mXt6dxe8nLk8o.html Unfortunately dialogs are much too complex to program for a quick KZread 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: kzread.info/dash/bejne/nGqcucl6e9CoZMY.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

  • @thanyananwimala3105
    @thanyananwimala31053 жыл бұрын

    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.

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    this.getField("Company").value = identity.corporation;

  • @Eros4tw
    @Eros4tw4 жыл бұрын

    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 KZread video or short article. If you would like a quote for us to create the solution for you please contact us outside of KZread: www.pdfautomationstation.com/public/department6.cfm

  • @jafeenak.s7928
    @jafeenak.s79284 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    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

  • @mikey0480
    @mikey04804 жыл бұрын

    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.

  • @cathysechrist3896
    @cathysechrist38963 жыл бұрын

    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

    3 жыл бұрын

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

  • @jasonkirkland2121
    @jasonkirkland21213 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    Yes it is possible. However, it is extremely complex and beyond the scope of a KZread 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

  • @sophietyy
    @sophietyy2 ай бұрын

    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

    2 ай бұрын

    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).

  • @derekhehn1321
    @derekhehn13212 жыл бұрын

    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

  • @megankempenich973
    @megankempenich9733 жыл бұрын

    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 KZread 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

  • @leannsmith3580
    @leannsmith35804 жыл бұрын

    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.

  • @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: kzread.info/dash/bejne/q6KjqdWghtbLaLg.html

  • @hemak6564

    @hemak6564

    11 ай бұрын

    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

    11 ай бұрын

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

  • @nigelhobden
    @nigelhobden4 жыл бұрын

    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

    4 жыл бұрын

    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

    4 жыл бұрын

    @@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

    4 жыл бұрын

    @@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

  • @cathysechrist3896
    @cathysechrist38963 жыл бұрын

    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

    3 жыл бұрын

    You are missing a closing bracket at the end of the first line. Pause the video her and pay close attention: kzread.info/dash/bejne/dpmEudSYYc_Uico.html

  • @ashleypike435
    @ashleypike4353 жыл бұрын

    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.

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    What is your script?

  • @kirastrange5526
    @kirastrange55263 жыл бұрын

    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

  • @RamonHPabon
    @RamonHPabon2 жыл бұрын

    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 жыл бұрын

    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 KZread 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!!

  • @Salni
    @Salni3 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    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 KZread 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

  • @Myrslokstok
    @Myrslokstok2 жыл бұрын

    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.

  • @alicetherrien7754
    @alicetherrien77544 жыл бұрын

    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 жыл бұрын

    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.

  • @ERCZ-4
    @ERCZ-43 жыл бұрын

    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 жыл бұрын

    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 “ ”.

  • @calummoy7149
    @calummoy71492 жыл бұрын

    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?

  • @PDFAutomationStation

    @PDFAutomationStation

    2 жыл бұрын

    Please post your script here.

  • @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!

  • @alicetherrien7754
    @alicetherrien77544 жыл бұрын

    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.

  • @bobatea1686
    @bobatea16864 жыл бұрын

    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 жыл бұрын

    @@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 жыл бұрын

    @@PDFAutomationStation Thanks! I got it working!

  • @MK-sx9rg
    @MK-sx9rg4 жыл бұрын

    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

    4 жыл бұрын

    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

    4 жыл бұрын

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

  • @StarlightDreamer12
    @StarlightDreamer122 жыл бұрын

    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 жыл бұрын

    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 KZread 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

  • @jefflasco5992
    @jefflasco59924 жыл бұрын

    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

    4 жыл бұрын

    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.

  • @MichaelGreen831
    @MichaelGreen831 Жыл бұрын

    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

    Жыл бұрын

    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

    Жыл бұрын

    @@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

    Жыл бұрын

    @@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

  • @balancedscales3420
    @balancedscales34203 ай бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 ай бұрын

    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

  • @11122233jjjaaakkkeee
    @11122233jjjaaakkkeee4 жыл бұрын

    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.

  • @jmemusic
    @jmemusic7 күн бұрын

    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

    7 күн бұрын

    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 KZread 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 KZread doesn't like it.

  • @PDFAutomationStation

    @PDFAutomationStation

    7 күн бұрын

    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

    6 күн бұрын

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

  • @danielallmon2173
    @danielallmon2173 Жыл бұрын

    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

    Жыл бұрын

    I'm sure what the purpose of "not from a dynamic menu" is. Perhaps you need an editable stamp like this: kzread.info/dash/bejne/nGqcucl6e9CoZMY.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

  • @daniellewalsh6970
    @daniellewalsh69704 жыл бұрын

    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 жыл бұрын

    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 жыл бұрын

    @@PDFAutomationStation that seemed to work! Thanks!

  • @byeeself
    @byeeself3 жыл бұрын

    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

    3 жыл бұрын

    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

    3 жыл бұрын

    @@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

    3 жыл бұрын

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

  • @benjaminlaine8132
    @benjaminlaine81323 жыл бұрын

    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 жыл бұрын

    @@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 жыл бұрын

    @@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 жыл бұрын

    ​@@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

  • @brentcallender5786
    @brentcallender57864 жыл бұрын

    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 жыл бұрын

    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 !!!

  • @kristinerobinson5593
    @kristinerobinson55934 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    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 жыл бұрын

    @@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
    @alm6134 жыл бұрын

    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

  • @Ecualogic
    @Ecualogic3 жыл бұрын

    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

    3 жыл бұрын

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

  • @Ecualogic

    @Ecualogic

    3 жыл бұрын

    PDF Automation Station yes

  • @Ecualogic

    @Ecualogic

    3 жыл бұрын

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

  • @Ecualogic

    @Ecualogic

    3 жыл бұрын

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

  • @Ecualogic

    @Ecualogic

    3 жыл бұрын

    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.

  • @merpmerp5059
    @merpmerp50592 жыл бұрын

    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 KZread here www.pdfautomationstation.com/public/department6.cfm and I'll reply by email so you can send me your file.

  • @Brotelho2
    @Brotelho25 жыл бұрын

    That poor keyboard...

  • @jeaniferpwistorespw2646
    @jeaniferpwistorespw26463 ай бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 ай бұрын

    What is the error?

  • @jessehamilton5805
    @jessehamilton58052 жыл бұрын

    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

    2 жыл бұрын

    What does the syntax error say?

  • @jessehamilton5805

    @jessehamilton5805

    2 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    2 жыл бұрын

    @@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.

  • @KurtReckerAdvertising
    @KurtReckerAdvertising3 жыл бұрын

    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

    3 жыл бұрын

    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

    3 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

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

  • @KurtReckerAdvertising

    @KurtReckerAdvertising

    3 жыл бұрын

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

  • @sylviegoulet445
    @sylviegoulet445 Жыл бұрын

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

  • @francebarbeau699
    @francebarbeau6993 жыл бұрын

    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

    3 жыл бұрын

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

  • @francebarbeau699

    @francebarbeau699

    3 жыл бұрын

    @@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

    3 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    @@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

    3 жыл бұрын

    @@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.

  • @paulruvalcaba3630
    @paulruvalcaba36304 жыл бұрын

    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.

  • @Mindset4Excellence

    @Mindset4Excellence

    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.

  • @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

  • @jenborder3060
    @jenborder30603 жыл бұрын

    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.

  • @benjaminlaine8132
    @benjaminlaine81323 жыл бұрын

    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 жыл бұрын

    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

    4 ай бұрын

    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

  • @chrisanderson1702
    @chrisanderson17029 ай бұрын

    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

    9 ай бұрын

    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

    9 ай бұрын

    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

    9 ай бұрын

    @@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 KZread, it is either the wrong case in a letter, or some other typo. -David Dagley, CEO, Forms Doctor Inc.

  • @nathanbeer1279
    @nathanbeer12793 жыл бұрын

    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 / ).

  • @codyallarte6451
    @codyallarte64513 жыл бұрын

    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; }

  • @jacintalauren6663
    @jacintalauren66633 жыл бұрын

    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 жыл бұрын

    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

  • @christianulrichzanderolsen8879
    @christianulrichzanderolsen88794 жыл бұрын

    Hi David I am having trouble creating the pop up response. I have written the following in my script (note that the box that I want a pop up window for is called Bilagsnummer): If ((event.source.forReal)&&(event.source.stampName == ”#NSBilag”) { this.getField(”Bilagsnummer”).value = app.response(”Bilagsnummer:”); } Hope you can help me. Best regards Chris

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    JavasScript is case sensitive. The i in the word "if" should be lower case.

  • @christianulrichzanderolsen8879

    @christianulrichzanderolsen8879

    4 жыл бұрын

    @@PDFAutomationStation It now says SyntaxError: Illegal Character --> (probably regarding the 'square brackets' { and } .)

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    No. All of your quotation marks are curly quotes. They need to be plain quotes like this: " They are difficult to see in this comment section so I missed it the first time. When I copied and pasted your script I noticed it. Never use a word processor program like Microsoft Word to write code. Always use a plain text editor like Notepad. Try copying and pasting this: if (event.source.forReal && event.source.stampName == "#NSBilag") { this.getField("Bilagsnummer").value = app.response("Bilagsnummer:"); }

  • @christianulrichzanderolsen8879

    @christianulrichzanderolsen8879

    4 жыл бұрын

    @@PDFAutomationStation Now it accepted the code. However it does not respond with the pop-up box when I use the stamp.

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    Please take this conversation offline by sending a message here: www.pdfautomationstation.com/public/department6.cfm

  • @Samantha0207
    @Samantha02073 жыл бұрын

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

  • @PDFAutomationStation

    @PDFAutomationStation

    3 жыл бұрын

    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 жыл бұрын

    @@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()); }

  • @kateannbaja5619
    @kateannbaja561910 ай бұрын

    in my case there is no script in javascript, anyone can help me?

  • @PDFAutomationStation

    @PDFAutomationStation

    10 ай бұрын

    What does that even mean? Can you please be more specific?

  • @samiserrano8906
    @samiserrano89064 жыл бұрын

    I get an error when attempting to run the script: SyntaxError: missing ) after condition 2: at line 3 if ((event.source.forReal)&&(event.source.stampName == "#MyFieldStamp1") { this.getField("AFE Number").value = app.response("AFE Number:"); this.getField("Approved").value = identity.name; this.getField("Date").value = util.printd("mm/dd/yyy", new Date()) } TIA :)

  • @samiserrano8906

    @samiserrano8906

    4 жыл бұрын

    I am unsure why it did the extra line spacing when I pasted. There is no space between the curly bracket and the first line and one space between the last line and the curly bracket.

  • @gabssssso

    @gabssssso

    4 жыл бұрын

    @@samiserrano8906 was this answered? i am having the same problem

  • @mmdfc8920

    @mmdfc8920

    4 жыл бұрын

    @@gabssssso met too

  • @bulldogbarrus

    @bulldogbarrus

    4 жыл бұрын

    having same issue

  • @StarThistle1989

    @StarThistle1989

    4 жыл бұрын

    Anyone with this issue, read this: You are missing an end bracket. The script shown at 2:37 is if ((event.source.forReal)&&(event.source.stampName == "xx")) Notice the double parentheses at the end. When the video narrator pastes the stamp name, it moves the end of the text offscreen because he doesn't have WordWrap enabled in Notepad. If he were to scroll to the right or widen the window, you would see the second parenthesis. Anytime you script, you have to remember to close all brackets or you'll get an error. If you get an error like this again, check that every opening bracket has a corresponding closing bracket in the appropriate position. Hope this helps!

  • @rickyp9262
    @rickyp92625 жыл бұрын

    Dave I beleive i've done everyhting as you mention but the Javascript window will not pop up when I stamp. Please help! Below is my java code, slightly different stamp, all user entered fields. if((event.source.forReal)&&(event.source.stampName == "#ImMk1iKajCpAra4j9f2BeC ")) { this.getField("JOB").value =app.response("JOB"); this.getField("COSTCODE").value =app.response("COSTCODE"); this.getField("BUDGET").value =app.response("BUDGET"); this.getField("REVIEWEDBY").value =app.response("REVIEWEDBY"); this.getField("COMMENTS").value =app.response("COMMENTS"); this.getField("Date").value = util.printd("mm/dd/yyyy",new Date()); } Thanks!!

  • @PDFAutomationStation

    @PDFAutomationStation

    5 жыл бұрын

    Remove the space between the end of the stamp name and the quote.

  • @jasonmuller2225
    @jasonmuller22254 жыл бұрын

    Trying this out and i keep getting a SyntaxError: syntax error 1: at line 2

  • @jasonmuller2225

    @jasonmuller2225

    4 жыл бұрын

    Also i get a SyntaxError: unterminated string literal any thoughts?

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    @@jasonmuller2225 Please paste your script here.

  • @jasonmuller2225

    @jasonmuller2225

    4 жыл бұрын

    @@PDFAutomationStation before i put my script in, does it matter if the stamp file was placed in the registry files, on my network i need admin privileges, can i just use the stamp manager and add it though custom stamps and have the java things work?

  • @PDFAutomationStation

    @PDFAutomationStation

    4 жыл бұрын

    @@jasonmuller2225 Let's continue the conversation through email. Please fill out the contact form here: www.pdfautomationstation.com/public/department6.cfm

  • @carolinamendizabal7545

    @carolinamendizabal7545

    3 жыл бұрын

    @@PDFAutomationStation if((event.source.forReal)&&(event.source.stampName == "#InvoiceDetails") { this.getField("Amount").value = app.response("Amount:"); this.getField("Received by").value = identity.name; this.getField("Date").value = util.printd("mm/dd/yyyy", new Date()); } I also get a syntax error Missing ) after condition 2: line 3 how do I solve that?

  • @shilohshow18
    @shilohshow185 жыл бұрын

    Dave, why is my script doesn't work? what am I missing? if((event.source.forReal)&&(event.source.stampName == "#MailedStamp")); { this.getField("Date").value = util.printd("mm/dd/yyyy",new Date()); }

  • @shilohshow18

    @shilohshow18

    5 жыл бұрын

    I just caught my mistake. It's working now.

  • @PDFAutomationStation

    @PDFAutomationStation

    5 жыл бұрын

    Remove the semi-colon >>;

  • @PDFAutomationStation

    @PDFAutomationStation

    5 жыл бұрын

    And you are also missing the last curly brace } at the end.

Келесі