Unlock the power of Acrobat SDK through our community.
Recently active
helloi could to find a script to run auto fill date (current date) when you open the file called "todaysDate"// variable to store whether document has been opened already or notvar bAlreadyOpened;function docOpened(){if(bAlreadyOpened != "true"){// document has just been openedvar d = new Date();var sDate = util.printd("mm/dd/yyyy", d); // set date now app.alert("About to insert date into field now");this.getField("todaysDate").value = sDate;// now set bAlreadyOpened to true so it doesn’t// run againbAlreadyOpened = "true";}else{// document has already been opened}}// call the docOpened() functiondocOpened();but i want to get alarm message and red frame like the required fields on the expiration date field when the current date field becomes (within and after ) the last 30 days of the expiration date field "e
I am reinstalling my applications on a new computer. Where can i go to download Adobe Acrobat 9 Pro Extended?
All my JSs are working when I check them in preview mode yet, when I export from the acrobat DC to a PDF and then ship it to the web form: https://api.na2.echosign.com/api/rest/v5/widgets/It appears that the validator scripts that are going from then acrobat environment does not make it out to the web widget.ex: If X is clicked then Y is now required JS: event.target.required = getField("present").valueAsString === "yes";This validation never happens after I have uploaded it to the widget. When the radio button is pressed it is supposed to force them. How can I make sure that the scripts migrate and function in the web form?Screen shots attached. Thanks in advance for helping!Preview inside of DC before entering value into Field 1 (First Name)Preview inside of DC after entering value into Field 1 = all subsequent fields become required(First Name)Web form does not put red * in fields, they are not required. Script did not move over.
Hello,I read a lot on internet.Who can help me or put me in the right direction.I use Adobe Acrobat DC pro.I've created a stamp. When a user put this stamp on a document the 'stamp' ask for some questions :The user has to fill in the question. One question is the filename.So I want that when the user has filled in the questions that document with stamp will be saved in a folder and filename the user has filled in.I read a lot about mySaveAs and Adobe LiveCycle and buttons and Folder Level Scripts but it don't work.How can I give the information filled in by the user in the stamp to the Folder Level Script so the document will be saved with the filename the user has filled in ?And also for the folder. The folder : "/c/ " and then the company name the user has filled in.Thanks and regards.
As the title. I have a dropdown list with two choices that have an effect on a checkbox with 6 values. The firts value of the list makes read only all the checkbox, and this is not a problem. But I would like that the second value of the list makes read only just one value of the checkbox (the fifth). How can I do this? Thanks
I have several files that will need the same comments/notes. Instead of "file, open, comments, menu, import data, click on .fdf file, open, and save" im trying to place that in an action for execute java. Am I on the right path? I was able to find this online:this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});...just not sure if I'm supposed to edit that? Thank you to anyone who know what I'm talking about.
Hi, this is my problem. In my pdf document, I want a main dropdown list "mainList" and a dependent dropdown list "depList1". When I choose the value in "mainList", the values in "depList1" change. In "mainList" I use this script, with three values "0", "1" and "2" that show different choices in "depList1", with the relative values:var dependentListBoxFieldName = "depList2";var dependentListValues ={"0": [[" ", "0"]],"1": [[" ", "0"]["white", "1"],["green", "2"],["red", "3"],],"2": [[" ", "0"]["white", "1"],["blue", "2"],["yellow", "3"],};if ((event.target.type == "combobox" && event.name == "Format") || (event.target.type == "listbox" && event.name == "Keystroke")) {if (event.target.type == "combobox") {if (dependentListValues.hasOwnProperty(event.target.value)) {this.getField(dependentListBoxFieldName).setItems(dependentListValues[event.target.value]);}else {this.getField(dependentListBoxFieldName).clearItems();}}if (event.target.type == "listbox" && dependentL
I have developed an Acrobat IAC application in C# in which i connect to a cloud consortium signature web service. I must now call signatures/signHash (in this method i must pass the hash of a pdf so the web service can sign it) method to sign the pdf remotly. I can do this with Secure Black Box but i want to open the pdf with IAC objects and use AcroExch.PDDoc to send this hash of the Pdf to the web service. I really dont know where to start from, any ideas ?
Acrobat Version: Acrobat XI 11.0.03Current Mac version: OS X El Capitan 10.11.4 Mac Pro retina Printer: Epson Workforce (EPSON_WF_3640_Series) When printing a document double sided, the first page always prints only one sided and then the rest of the document is double-sided. I have tried to print in reverse (Page handling>Page order> reverse) but the printer doesn't seem to respond to that command because it still prints the document first page to last. How do i fix it? Thanks!
hello I have a pdf file with two form field one is called sheet and the other foliofolio is the sum of sheet + 62, my question is is there any way to make this repeat several times and the forms are created automatically?
I am working on improving the maintenance for my company's equipment via a service ticket. When the service ticket form is filled out and submitted, I would like to have it generate a number (in order) for that document (for ex: 2019-001, 2019-002, 2019-003, etc.). I have seen some similar questions answered but all are having the number created when the document is opened.Thanks for the help!
I have used the following code in a pdf document. event.value = ( this.getField("Rent").value / this.getField("Month").value ) * this.getField("Days").value. I have formatted the field for two decimal places. When I total several of these calculations in a later field it is sometimes off by .01. While the field is rounding the number, it is using the actual number with many places after the decimal point in adding multiple fields together.
Hello,I am building a single form that I hope to make multi-purpose using different views.The first view/function is an internal facing document that a technician will populate much of the information. This will ultimately end up with a sales rep, who can then click a button and create a customer facing document with much of the information retained and a lot of it hidden.I have almost everything dialed in and I am stuck on maintaining the data initially entered by technician into the 2nd customer view. The fields between the 2 different views are largely the same, but the positioning within the document changes once switched over the to customer view.What I want to accomplish is having duplicated or linked text fields that once the tech enters it the first time will mirror into the 2nd customer field view (which would be hidden at the time of the tech completing the form).Best way I can equate it is a cell reference formula in Excel.Any ideas?Thanks in adv!
i have a small question regarding formulas in acrobat. 4 fields there... if i enter a number in one of them i want to calculate the values of the other 3 fields. if i enter another number in a second field (not empty) the calculation should start from the beginning.... who can help me there??
I just got quite a bit of help on another thread and got my script up and running perfectly (Here is the link if anyone wants context: Saving PDF form to specific folder based on field data ).Now, I'm wanting to run this script via a form button but I'm running into the expected privilege issues you'd expect since I'm running it as Trusted. Is there anything I need to do to my code to make this possible or is it a security setting that will need to be changed?Here is the script: [JavaScript] Attempt - Pastebin.com Thanks again everyone, y'all have been a huge help!
Hello Javascripters,I'm using DC, and I have a form set up that I use as a template to create many versions of itself. At the moment, I open up the master form, fill in all the relevant details, and then hit a custom menu item that saves the master form as a copy of itself to a specified folder on my hard drive, naming it with concatenated data from some of the fields on it that I have just filled in, and in the process, closes the original master, having reset all the fields, leaving it clean and fresh to open another time when I want to create another copy. (Each copy contains information about various events that I am attending, and I need to know travel and accommodation details for each etc)The master form also has a pdf attachment, which contains supplementary information regarding travel itinerary details pertaining to the event I am attending.When the master form saves a copy of itself, it obviously includes a copy of the attachment along with it. This is exactly what I want it
Hi again, everyone! I came here a while back looking for help on a script to import a tab delimited txt file, creating forms with the imported data, and then saving them to specific folders based on a certain field's data. Below is the pastebin for that code and it's commented out to show what each bit is for.[JavaScript] PDF Form Saving - Pastebin.com I'm wanting to dumb this down a bit so that, instead of importing data to create the forms, a user will: fill out the form, choose the menu item according to what type of form it is, and the script then uses the PFFSID field data to use in the Switch portion to determine the folder it is to be saved in at the end of the script.I thought that if I simply removed the While loop that the Switch section would be able to pass all necessary data to the SaveAs command, but I was wrong and I'm not exactly sure why. If you'd like to lend a hand please let me know any questions you might have so I can be as useful as possible.Thanks!
I grabbed some code on how to rename a file based on the string position within the file. That doesn't work for me because the data in the files changes so the text I need for renaming the file can be shifted. What I need instead is some sort of If/Then/Else formula. I found that code here: https://forums.adobe.com/thread/2364649 but I'm trying to tweak it to suit my needs. I am incorporating this script into an Action in Acrobat that will run through a batch and rename (or create new files) in a designated folder.This is the criteria I need for the rename:IF the PDF contains the text "Packing List" THEN I need the new file name compiled by returning the value AFTER the string "Reference to Invoice" + "." + the value AFTER the string "Shipment Number" + "." + "pl" + ".pdf" This would look something like this: 123456789.PPHB12345.pl.pdfELSEI need the new file name compiled by returning the value AFTER the string ""Customs Invoice" + "." + the value AFTER the string "Shipment No."
Hey there.I have a form for naming corporate officers. One company can have 2, another can have 22 so what I would like to do is:If information is entered into "First Name" then require"Last Name""Title""DOB"Any help is GREATLY appreciated!!!
I have a fillable PDF that has multiple date fields. There is a main date field and all the rest follow in sequential order i.e. the main date is June 1st 2019 and then the other fields would go June 2nd 2019, June 3rd 2019, and so on. How do I get them to auto-populate based on the primary date?
Ideally I'd like to setup an action that will add a few lines of white space to the first page of multiple documents at a time.I am hoping to increase the page size to add a footer text / image that includes the filename and some other information. I used to be able to use the Crop tool to increase the page size, but that doesn't seem to work now and i'd like to be able to set it up as an action. I am probably not explaining this as well as is needed but hopefully someone can help me get on the right track. Thanks!
I have the following code for extracting 3d data ( file ) from my annotation , but as the result I have encoded ( compressed ) file , how I can get the decoded file ( not compressed ) ? I've tried cosOpenFiltered and cosOpenRaw and it doesn't work char* ptr1 = new char[2800000]; ASFile asGLTFFile = NULL; CosObj stm = PDAnnotGetCosObj(annot); CosObj stm3d = CosDictGetKeyString(stm,"3DD"); &nb
How to download .MSI package of Adobe Acrobat Reader DC application
I would like to be able to determine if a PDF has layers/OCGs in it using an existing VB.net where we are previewing images.We have some graphics files that our graphics department didn't turn off a layer with template marks on them.We can't see them in the preview, but they do show up when actually printed.When I come across one, I want to be able to alert them to correct the situation.
Is there any way to click OK using vba or javascript on a Acrobat dialog box?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.