Unlock the power of Acrobat SDK through our community.
Recently active
Acrobat DC updated from version 2019.010.20069 to 2019.010.20091 That update has disrupted GlobData usage. Some global variables are still being passed between my JavaScripts and some vars are not. What did Adobe change in the most current update? My code has worked in 9, X, XI, DC, 2015, 2017... but not now.
Does anyone use any other utility to create, test and run scripts that they create with Acrobat?
When I attempt to combine PDF files, I get the following message: " Acrobat does not support the conversion of one or more of your files to PDF. Please remove these files or go to settings and choose the PDF Portfolio option." The Portfolio option will not allow me to do what I need to do!
Hello,I have created a very long and detailed Form Filler PDF using Adobe Acrobat Standard DC. I have put a lot of time into making some of the fields required and creating a custom submit buttons. that emails the form to our executive who has to sign off on the form before the document can be passed along to start processing the information on the form. Once the Submit (email) button receives a mouse up event the submit to server button appears which is the only way I would like for the form to be "saved". This allows us to make sure that no work order slips past the boss without his approval, long story but necessary. So now to the question, is there a way to add a Will Save Action - this.resetForm(); in the current version of Adobe that I have? If the answer is no is there a way I could sign up for a trial version of the Tool or program that I would need so that I can find out if I get my desired result before having to pay for it?Our office has purcha
Hey everyone.I'm looking for exporting only the second page of my document with a button.Any hint? Is it possible?
The "open cross link documents in same window" check box defaults to on or checked; how can I set the default to be off or unchecked? I write documents that have lots of links to other documents and it is an absolute nuisance to have to uncheck the cross link box every time I open a document or have people asking me why the main document closes when they follow a link.
Hi everyone.I'm looking for a script to put in a send button that will change the file name with some data from one of the fields of my form.Any hint? Is it possible?
Hi everyone!I'm looking for a script that will give me a geolocation of the device that is filling a form.Any hint? Is it possible?
I have this created in Excel but would like to do it in Adobe.Basically I'd like to create something where a person can enter a Zip Code in a given space.The results will be a Name and Contact Information pops up.
You can find attachments using PDDocGetNameTree in Acrobat SDK.However, I want to find the number of MAX pages and the named destination of the attached file.
I've created a form where our technicians can select one of three boxes for courses they are required to take. Depending on the box they select a field will either populate with $0 or a specific dollar amount. I now want to add the fields with the dollar amounts and I can't get adobe to do that for me.Here is the sample script I'm using based on something I found online: event.value=this.getField(“Text37”).value+this.getField(“Text38”).value;It's not wrking. Any help would be greatly appreciated.
Good evening, I am attempting to use the "Set Items" function to add hundreds of words into a drop down box, using a for loop, and an Array.I can use the same method of a loop to use the Array however I want, except for when it comes to adding the Array's contents into a drop down box.Here is my code:/*Here we will import, and read from a specific text file, and then assign the text file into an array, seperated by '\n' */this.importDataObject("MED & DIAGNOSIS & ICD-10.txt", "C:/Users/dell/Documents/MED & DIAGNOSIS & ICD-10.txt");var oFile = this.getDataObjectContents("MED & DIAGNOSIS & ICD-10.txt");var cFile = util.stringFromStream(oFile, "utf-8");var fileArray = cFile.split('\n');/* Here, we will loop through the array equal to its length, attempting to add every other value in the array into a drop down box. This portion of the code does not work, however. "console.println(MedAnalysis);" works just fine in t
I am trying to prompt Field B to become required only when Field A contains specific text such as "Apples", "Oranges", and "Bananas".I have tried this code in the Custom Calculation Script of Field B:if (this.getField("A").value=="Apples"){event.target.required=true}else{event.target.required=false}Which works, but it won't work when Field A has other words like "Oranges" and "Bananas" with this script:if (this.getField("Name").value=="Apples", "Oranges", "Bananas"){event.target.required=true}else{event.target.required=false}How can I prompt field B to be required if field A has any of these words in it?
On Adobe XI Pro form tool how do I write a calculation such as excel formula =IFERROR(G14/C14,"")? When the form is blank the cell is not acting correctly with a return of zero ($0.00). Current simple field notation is PV1/OP with the return in a %.
I designed a form using InDesign and exported it to Interactive PDF.I need to cause each checkbox to "check" when any text is entered in the text field beside it. I have over 30 checkboxes, and figured how to do this using the following code in Acrobat Pro (as a custom calculation script under the text box properties). if (event.value==""){this.getField("Check Box 3").value="Off"}else{this.getField("Check Box 3").value="Yes"}It seems to work, however before I repeat this 30 times for every single text box / checkbox combo, is there a way to make further edits to the layout in InDesign after adding all these custom check box actions? Do I really have to add them all each time I export to interactive PDF?
Is it possible to apply a page label without numbering style like we can using style "none" with page numbering in Acrobat?var labels = "4, 9, 13";var labelsplit = labels.split(", ");if (labelsplit.length == this.numPages) { for (var i=0; i<this.numPages; i++) { this.setPageLabels(i, ["D", "", labelsplit]); //this.setPageLabels(i, ["r", "", labelsplit]); //this.setPageLabels(i, [ "A", "C4-Lot", 4]) }}My problem is if my labels contain something else than integer...For a label like "C4-LotD" I would have to evaluate if the last letter is upper case and then "D" is the fourth letter of alphabetical order to come out with:this.setPageLabels(i, [ "A", "C4-Lot", 4])Label not ending by alphanumeric character will be a problem. Maybe another way to label pages
I want to calculate the sum of total hours worked. The text fields are HG1, hg1a to hg1e set in format hh:mm. Anyone have a script for this?
hello team,i have 10 text fieldsText1Text2Text3.....Text10i want a solution how to short numbers min to max on this fieldse.g.Text1 value = 1Text2 value = 3Text3 value = 22765Text8 value = 9Text9 value = 10Text10 value = 8and i want system check the fields and short the number12345678910any help?
I am trying to create PDF files from Office using the AdobePDFMakerForOffice, but can't seem to find any documentation on the SDK about this COM add-in.
Is it possible to add a fingerprint script to scan a fingerprint into a PDF? I have a fillable PDF that requires an electronic signature by the client. I would like to add a fingerprint scan to add authenticity to the user’s signature.
I am using this script in the calculate field event: can anybody assist?var dateFirst=StartDate1.formattedValue;var dateSecond=Date1.formattedValue;var timeDiff = Math.abs(dateSecond.getTime() - dateFirst.getTime());var diffDays = Math.ceil(timeDiff / (1000 * 3600 * 24));Totaldays1=diffDays;by all accounts this should work right?
I am currently trying to convert a jpg image into a pdf with the following code:function JpgToPdf (doc, img){ var myDoc = app.newDoc(); // myDoc.Open("/C/Users/tmuñoz/Desktop/Thuban-Nivel 2.pdf"); myDoc.disclosed = true; doc.disclosed = true; newDoc = app.openDoc({ oDoc: doc, cPath: img, bUseConv: true }) newDoc.disclosed = true; var filePath = "/C/Users/tmuñoz/Desktop/Adobe/temp.pdf"; //MySaveAs(newDoc,"/C/Users/tmuñoz/Desktop/Adobe","Thomas23.pdf"); newDoc.saveAs({ cPath:"/C/Users/tmuñoz/Desktop/Adobe/temp.pdf" &n
This field is calculating correctly based on the value in equipmentthe field name is LevelRatevar nEquipment = this.getField("equipment").value;if (nEquipment<=49999) event.value = .0550;else if (nEquipment>=50000) event.value = .0525;I want to reference LevelRate in another fieldif LevelRate is .0550 the new field VariableRate need to be .0574I'm trying this but it's not working I tried calculation order and putting it in validate vs. calculatethis.getField("LevelRate").valueif (LevelRate=.0550) event.value = .0574;else if (LevelRate=.0525) event.value = .0549;
AfternoonI am creating a form and would like to have 4 radio buttons that when clicked on spawn a hidden template (this bit i have got). what i also want it do do is if i select a different radio button it spawns another associated template page but deletes the other. This is so only one template page can be visible at any time.So i have 4 templates, lets say "Template1", "Template2", "Template3", "Template4".Is this possible. I am new to java so the simpler it is explained the better.Thanks
Is there a javascript to format a text field to have number format and allow text as well?
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.