Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
I just purchased Adobe Acrobat Pro DC at Office Max and I followed the directions to get my serial number, but when I go to download the software from the provided link, it gives me an error message that says the .exe file is damaged or corrupt. Any ideas? ~ John
How do I set fields to automatically subtract one amount from another on a fillable form? I am not familiar with coding or script writing.
PDFs that give this message when you click on a dialog box makes lets the user know they can't save the pdf . I am working on making some .PDFs with having this would be being very helpful to me. Thanks for any or all replies.
I have a script that counts the checked boxes up to a predefined number (lets say 5) and stops users from checking more boxes. But when I close and reopen I can check another 5. Is there a way to prevent this from happening? //----------------------------Document JavaScript Code ----------------------------var counter = 0; // Checked counter//--------Count Checked boxes again when document is closed and re-opened ------------for (var i =0; i<= 100; i++){ if (getField("chkBox" + i).value == "Yes"){ counter += 1; }}//-------------Validation Function ---------------------------------------------------function validateCheckBox(name,value){ if (value == "Yes" && counter <
Hello, I've created a form in which certain check boxes and fields are required. When clicking on the submit button, I would like it to verify if those check boxes and fields have been filled in. If they have, then send a mail with the PDF. However, if they haven't, then highlight the empty fields. Unfortunately, I know pretty much nothing of JavaScript, which means that if I find an article that shows the solution, it doesn't work for me (probably because I didn't specify the names of the fields...). Can you please help me out?The check boxes that need to be filled in are "Customer" and "Site". The fields that are required are "Name" and "Contact".
Greetings,I am designing a form that will be filled out in three steps. I have it set up to show the fields for the first person and have the second and third person's fields hidden. When the form is signed digitally, the action will lock the fields on page one, make the fields visible on page two and then (This is the part I cannot figure out) email the form intact to the next person (hard coded) for them to complete their section. When they sign the form it will lock the fields on page 2, make visible the fields on Page 3 and save it (yes, I have to figure this out too) in a specific location for the final person to complete and sign. The final signature will lock the remaining fields and save the file in a new location (repeat of the previous signature script with a new location).I have successfully created the first script to switch the fields, but when I use the script to email the form, it arrives without any data or fields for the next person.Any directio
Is there a way apply different formatting to text as default text in a text box?In the example shown, I would like to have the first word (shown in green in the example) bold - and the rest normal unbold. Unfortunately, applying formatting appears to apply to the entire contents of the "Default Value" - not just selected text. If that isn't possible, can the text box have a title?
I am trying to add in proper script for my form in order to calculate certain fields but am running into NaN (Not a number) error codes.Additionally, I would prefer for all cells to remain blank until filled in and they start to populate. I would also like to format the first three columns in the table as number (currency) and the last one as percentage but am running into additional error codes when doing so.To my understanding, I need custom calculation script rather than my simplified field notation to ensure I am able to do this but I am not familiar enough with JavaScript to do this myself. I have taken a partial screen shot of the specific table I am talking about below: I would be looking for the proper JavaScript to put into columns 3 and 4. Any assistance you can provide would be greatly appreciated! Thank you in advance for your time
When I have a PDF open in Adobe Acrobat DC, I select 'Fill & Sign' and the page goes blank.Then, if I click on the X and exit out of the feature, the page reappears but I cannot drop in my signature.How do I get this function working again?Thanks.
Hello, I have created a indesign file which contains 4 layers, I have export it to PDF, I want to create button in PDF with Acrobat which can on and off a layer (A), with Java script code...Thanks...
I am working on a pdf form in adobe acrobat that will merge with another program (Service Monster). This is accomplished by adding data tags such as [LINE_QTY_3] into the properties name box of a given text form field in acrobat, which then pulls in the quantity from line 3 of the other program. The problem I am having is I want to add together the value from 2 text fields that contain data that was pulled in through these data tags. In particular, I want to sum [LINE_QTY_3] & [LINE_QTY_4]. Any ideas on how to accomplish this?
I am trying to write a script to auto-calculate a Goal by multiplying the Total Contract Value by the selection from the drop down box. Here is my stab at it but I am getting a Syntax Error before statement 2 at line 3. Any help is appreciated.Thank you!if(this.getField("Type of Contract").value=='Construction (10% Goal)'){event.value=nTotal Contract Value*0.10;}else if(this.getField("Type of Contract").value=='Non-Construction (3% Goal)'){event.value=nTotal Contract Value*0.03;}else{event.value=0//}
This is more of Curiosity, I'm unsure if this can be done. Now I have Script that will save to a Network Drive, like so:oNewDoc.saveAs({cPath: "/K/Penta/Split/"+filename});Now I wish to know instead of Saving it to my K Drive, could I save it by specifying the name of network drive like so:\\sovarchrpri01\d$\Penta\Split\This is just so I can avoid constantly changing the Drive Letter, since this drive letter changes for the sovarchrpri01 a lot, and just change the folders I would be saving it.
In c#, I have handle of Acrobat DC process instance running, I simply want to traverse through details of PDF documents that are open in it, and retrieve path of all those PDFs using Acrobat DC SDK (InterApplicationCommunication).For this to start with I went through SDK documentation and Samples provided along with it, but samples are not working, Acrobat.dll included in references is missing, so I went through process mentioned in documentation to add reference but Unable to find Acrobat.dll at Project -> Add Rerences... -> COM, I had installed Acrobat Reader DC v2018.009.20050Note: I am using VS2013 or VS2015, both of them giving same problem
Hello,I need help in creating a form with radio buttons:1. There are 37 questionnaires. Each question has 3 buttons with corresponding value but different for each question. Example:Question#1 YES = 4 NO = 0 N/A = 0Question#2 YES = 3 NO = 0 N/A = 0I need to be able to have a total for each field based on the value. So for instance, I selected YES on both = my total should be 7.I have not done javascript before but I am not new in creating acrobat forms, so I will really appreciate any help from all of you.Thank you.Lynne
(EDITED to clarify question)I have a group of radio buttons named KAQuestion.1 (export values are either 0 or 1), a Submit1 button, and two fields - CorrectTotal and IncorrectTotal.If the radio value is 0, submit should trigger 1 to be added to IncorrectTotalIf the radio value is 1, submit should trigger 1 to be added to CorrectTotalPlease help me with the script for the Submit button. Here's the core of what I'm looking at:var KAQ = this.getField("KAQuestion.1").value;if (KAQ == 0)this.getField("IncorrectAnswerTotal").value = +1;elsethis.getField("CorrectAnswerTotal").value = +1;I had this script as a calculation on the CorrectTotal, which works, but I don't want the calculation to trigger until the user commits to the submit buttonvar testFor = "1";var groups = this.getField("KAQuestion");var ar = groups.getArray();var cnt = 0;for (var i=0; i<ar.length; i++) { if (ar.value == testFor) { cnt++; }}ev
Hi. I am a beginner in the JavaScript SDK of Acrobat. I would like to change the size of the 3D annot but it seems the following piece of code is not working. var pageIndex = this.pageNum; var annotIndex = 0; var aMy3DAnnots = this.getAnnots3D(pageIndex); var RectArray = aMy3DAnnots[annotIndex].rect; RectArray = [48, 200, 300, 193];For fields, I have a similar piece of code and it works. aObj = this.getAnnots({nPage:0});aObj[0].rect = [48,100,300,193];Is there anything that I am doing wrong?Thank you very much for your guidance. Acrobat SDK@ !
Hi, I need help creating a JavaScript in Acrobat to calculating 10 years from a Contract Date field. I'm having difficulty with getting this to come out correctly because i need to account for leap years. Any help would be greatly appreciated.Thank you!
I am working on a form for a bar contract for use at a local 503-C Social Hall which is rented out for fundraising to support the group. The form contains five radio buttons to select the type of bar service package desired, and I am trying to have the selected package display on the billing page of the contract. The following Javascript code generates this error: "SyntaxError: Missing ; before statement 17: at line 18". Any help deeply appreciated.// This JavaScript Displays the chosen Bar Package from// Page 1 of the Bar Contract by first retrieving the results// of the Radio Button Selection on that pagevar Package = this.getField("Bar Service").value;// Then determine the Package price per personif (Package == "None") { event.valu = "No Beverage Services Requested, No Charge."} else if (Package == "Non-alcohol") { event.valu = "Non-Alcoholic Package Requested, $2.00 per person, per hour."} else if (Package == "Beer")
I have a field that exists on multiple pages. The fields name is:032stateFor example let's say it resides on page 12 and 13 (based on page index starting with 0).I am clicking a button that looks for a specific layer within the page that the button is on. The script checks to see if the specific layer state is true or false and toggles it accordingly. What I want is the 032state field to do is....When the specific layer ON THAT PAGE is visible the field is visible, when it is off the field is hidden.So if I click the button on page 13 I need it to ONLY change the display state of the field on page 13.Line 20 and line 33 is where I am stuck.Here is my code...any help would be greatly appreciated. I'm still a newbie var ocgSchematicArray = this.getOCGs(this.pageNum);var getButtonName = this.getField("032wires");var getState = this.getField("032state");var theFieldsPage = getState.page;// Look through all the layers on this pagefor (var i = 0; i < ocgSchematicArray.length; i++) {
sorry for the dumb question first. I don't even know if its possible.if there any way to put a random check mark with the click of a button? a click will provide check mark/s on the different check box/es...for example..I have 10 check boxes. when i click on a button or 1 of the checkbox, it will put check marks on 1, 2, or 3 check marks in any of the 10 check boxes?also, can i put a random but check mark on certain check box more frequent? check box 5, 6, and/or 7 gets most check mark??I am sorry if i am not clear but I am trying to generate random check mark on my 10 check boxes automatically and favors check box #5,6, and/or 7.Any help will be greatly appreciated.Thank you!
Type PDFType = Type.GetTypeFromProgID("AcroExch.App"); CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp; AcroAppObj.Show(); CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc; CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;Now I have CAcroPDDoc object, but still unable find any library function which returns Path of document, could you please help in this. Type PDFType = Type.GetTypeFromProgID("AcroExch.App"); CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp;How can I get this file path? could you please help in this!
Hi.I have a multiple page document and there are buttons on the first page to direct me into different pages of the PDF. As there are buttons on the page to navigate around the PDF, I would like to disable the page change by keyboard or mouse scroll.Is it possible to capture the page change event? or is there anyway to stop user from turning from page 1 to page 2 by mouse scroll or by page down/up keys on the keyboard for a multiple page document?Does Adobe SDK provide a solution on this issue?Thanks.
I just wish to retrieve the path of PDF document opened in Acrobat DC Pro, and save paths to my database in c#,I able to get active pdf document in c# but unable to retrieve path of the document,Type PDFType = Type.GetTypeFromProgID("AcroExch.App");CAcroApp AcroAppObj = Activator.CreateInstance(PDFType) as CAcroApp;CAcroAVDoc AvDocObj = AcroAppObj.GetActiveDoc() as CAcroAVDoc;CAcroPDDoc PdDocObj = AvDocObj.GetPDDoc() as CAcroPDDoc;But not getting path of of that document, is there any other way to achieve this?Help will be much appreciated
Hello,I need create new option in Adobe Menu to "export/send" current/opened document to Java Servlet.I using free Adobe Reader DC.First my idea was to use http method in adobe java script api, but I still fighting with security permission.My java script code is in User folder: C:\Users\insys\AppData\Roaming\Adobe\Acrobat\Privileged\DC\Javascripts\Below there is a code for http method:var runExtract = app.trustedFunction(function(doc) { app.beginPriv(); try { var params = { cVerb: "POST", cURL: "http://10.179.13.16:8088/ppap/uploadFile", &
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.