Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Hi,I have a PDF form with 2 buttons at the top that are set to run a Javascript. One of them saves the file to a specific server location under a certain file name. The other saves it in the same way and also sends an email with the form as an attachment.In previous versions of this form, both buttons worked perfectly fine. I have changed a number of things now about the form itself but no changes were made to the buttons. However, the save function of the buttons no longer work (though the second button still generates an email fine).I've run through every line of Javascript code and confirmed it's the same as the previous version, so I don't think it's the code. I feel like it's a setting on the doc itself, but as far as I can see, they're all the same as well. Any ideas what else (settings or anything else) might block the save function on the buttons from working?Thanks in advance!
This is my first post so any help would be greatly appreciated. My question involves 2 parts:1. I have a PDF form (which was created in Adobe Acrobat Pro DC from a MS Word 2010 document) which has 2 radio buttons, each of which will hide a section of the form. I have managed to hide the form fields using "Actions"-"Run javascript" and code for each field which looks like this: this.getField("Field Name").display = display.hidden;However I do not know how to select and hide the text in that section (which is not a text form field) as well as any of the other objects like a table outline. Any help in this regard would really help.2. Now assuming I can hide the section (from part 1) is it possible to get the next section to move up so that there is no white space between the sections?Thanks in advance for the help
Bonjour,Certains convertisseurs en ligne offrent de type de service, comme par exemple pdfcrowd.com | Pricing Comme nous possédons une licence Cloud Adobe, serait-il possible de l'utiliser sur notre serveur Web afin de générer des pdf pour nos factures actuellement en version html.Merci pour une réponse.CS
I would like to insert an image by pressing a button and have it automatically insert an image from my downloads folder.Currently:I have a button field and under action I have it run the following javascript event.target.buttonImportIcon();With this javascript when i click the button it brings open another window where i have to browse for the image file before opening.Is there a way to modify the javascript such that it will automatically open the image file by coding the address of the file?I have tried event.target.buttonImportIcon(":C/Users/..../imagename.pdf") and that did not work.Thanks
Hi! As there are no solutions at the Printing & Prepress community, I would like to launch the topic over here.How to set up default printer by page format/page dimensions?For example, I print A6 pdf shipping labels (real A6 pdf format) with a labelprinter. Other A4 pdf documents must be printed by another printer.Now I sometimes forget to change the printer and the last chosen printer isn't always the right choice.Is there an existing method or javascript to set up the default printer, affected by the pdf page format?In that way in my case the default printer will be automatically selected by this unique variable: the page format or page dimensions.Another way might be by the pdf filename, as those files have a certain pattern/structure.
We have a timestamped audio file that has been synchronized/timestamped to a text file. We are trying to see if we can somehow have each word in a pdf be synchronized to each synched/time stamped audio and if possible select a word or a consecutive string of words and have the pdf either play back the timestamped audio or open a third part to play the audio?If anyone can help i would appreciatePJH
I've created a form with a text field, lets call it Inbd_Data.The text field pulls data from another source and populates it (i.e. the data is dynamic).Example:Name: Bob|Address: 234 Apple St.|Ste 230|(yes, the data is pipe delimited and the field headers will always be the same [that's what I'm trying to bold])I've been trying to write a script that will search the field for certain words and bold them. (i.e. "Name:" and "Address:" would be bold if found in the data).I've seen people suggesting the use of spans but that doesn't seem to work for dynamic data. Any ideas?
When in "Prepare Form" mode in Adobe Acrobat Pro DC, is there a way to get the selected field name(s) via JavaScript? I would like the user to be able to select a field (or multiple fields), and then click a custom button under "Add-ons" so that I can bring up my own custom dialog. I don't want to write a C++ plugin. Thanks in advance.
May I know to to user Adobe optimization API to optimize multiple pdf files in one batch.If possible, please show the source code.Step 1: Open the folder which multiple pdf files existStep 2: Optimize these pdf files and output into the destination folderThanks in advance.
The downloadable documentation lacks several pages, or at least has several errors in the links.For example, on the page that describes how to create a PDWordFinder object, there's a link to the API reference, but that link is dead.There are also numerous items that simply appears to be missing -- I can't seem to find any real documentation on how the PDDocCreateWordFinderEx function works or how to use a PDWordFinder object at all.
Hi, I used to zoom with javascript with (Zoom) and (Zoomtype) functions, but can i Zoom and Scroll to the Left Bottom of the Page? can this be done via JavaScript ? if this can be done which function to start with ?, Thanks in Advance.
I am creating a PDF form that consists of several yes and no questions (with radio buttons) and I am trying to conditionally require subquestions (if yes is checked). My question is Group1c, my subquestion is Subgroup1c. My answer choices for Group1c are Yes and No. All are radio buttons. My first question is already marked required, and my subquestion should be conditionally required. I tried the following code, but it keeps returning an error. Please advise! Thank you!var f = this.getField("Group1c");var yes = this.getField("Yes");yes.required = false;if(f.value === "Yes") {Subgroup1c.required = true;}
I have created an Adobe Acrobat form that has a textbox that retrieves the windows logged in user using JavaScript with identity.login. This works fine when the document is opened with the Adobe Reader. I have uploaded the document to our SharePoint Online. The document now opens in the browser in SharePoint Online, but, fails on retrieving the login of the user. How can I make this work?
i have 2 pdf pages Page 1 and Page 2 on adobe DC.User have option to duplicate Page 2 and create Page 3.Now i want a code to run only on page 3 when user work on page 3.... i try this :if (event.target.pageNum=1){this.getField("Text26").value = event.value;}if (event.target.pageNum=2){this.getField("Text26_1").value = event.value;}but the value takes in Page 1 and Page 2! I want only go to Page 3 if user work in this page........................
Hi Folks,There is a pdf image I would like to save as a jpeg, so i can post it on the likes of LinkedIn. Can I use Adobe to do this? If so, any pointers would be much appreciated. Thanks
I know, I know.. this is the JavaScript forum... but, I cannot find out how to start the check box naming at "1" again... I have many check boxes to add to my form, but the automatic field name stars at "Check Box20" (this session) and auto counts up from there. If I rename it to "Check Box1" and then add a new check box, it names the next one "Check Box21" and so on, instead of naming it "Check Box2."I couldn't find anything about this in the Acrobat X pro guide or after several Google searches. This has to be simple to do!!
Hello!I'd like to show or hide a few fields based on the answer given in a previous field.For example if the number in "Total" is 0-9, then Field 1 will appear. If the number in "Total" is 10-19, then Field 2 will appear. If the number in "Total" is 20-29, then Field 3 will appear, etc.I can't seem to find this situation in any previous posts.Thanks in advance!
I have used JavaScript code in Acrobat XI Pro in a checkbox to hide and unhide my Template. hide myTemplate//var t = this.getTemplate("myTemplate");t.hidden = trueunhide myTemplate//var t = this.getTemplate("myTemplate");t.hidden = falseWhen using Acrobat DC, I have and error message : Not AllowedError: Protection settings prohibit access to this property or method.Template:hidden:2:Field "My Template page name":FocusPlease help me....
I've been hitting me head against the wall for a couple of days now and seem to be getting nowhere fast.I've studied the samples in the SDK and it all seems a bit archaic. There's a whole mess of stuff in those projects that are *very* hard to read and come with no explanation (that I've found); primarily in PIMain.c. If anyone can point to something that would explain the code in that file, I'd be very happy.There's a bit of black magic everywhere and frankly, I can't seem to figure out why the sample compile fine while my projects don't.I've tried to doing a simple copy of the Starter sample and adding the missing files that it keeps references to; no luck.
I have 3 drop downs and I'm using this script to make them readonly and not,if (event.value == ""){this.getField("TranChec").readonly = true; this.getField("Tran1Htb").readonly = true;this.getField("width").readonly = true; this.getField("TranChec").value = "Off";this.resetForm(["Text2bbb","Text22b"]);}if (event.value == "1"){this.getField("TranChec").readonly = false; this.getField("Tran1Htb").readonly = false;this.getField("width").readonly = false; }else if (event.value == "2"){this.getField("TranChec").readonly = false; this.getField("Tran1Htb").readonly = false;this.getField("width").readonly = false; } //the script goes up to 50.What I would like to do is to eliminate all this script because at times I have to enter a number above 50 in the first drop down. At the moment when I enter a number higher than 50 the other two drop downs remain readonly. So, I'd like to be able to enter any number and the other two drop downs will become accessible and will become readonly on reset. Ca
Using the VB6.0, invoking the interface, loading the local PDF file, the PDF file has 10 pages, and I need to print the 1,3,5 page in a print task
This is probably way simple but....I have this script:var a = this.getField(2 PCT);var b = this.getField(SUB TOTAL);event.value = a.value * (b.value / 100)And get: SyntaxError: missing ) after argument list 1: at line 2Can someone explain this to me?Thanks
I have a new computer with Word 2016 and acrobat XI. When I change the printer on a Word document to print as a pdf, the page breaks change. As a result, I can't make easily make the pdf and word versions be the same. Is there a fix for this?Thanks.
hi, i'm getting "SyntaxError: missing ; before statement" error in bellow code. can u pls help me to solve this issue. thanks..var s1 = getField("aa").valueAsString;var s2 = getField("bb").valueAsString;event.value = "THIS AGREEMENT (the "Agreement") is made on" + s1 + ", by and between Sterling & Pope Publishing Corp, DBA, and hereafter referred to as, "The Painting Pro Guys" ('Master Licensor'), 7462 Chinaberry Lane, Frisco, Texas 75033 and " + s2 + " , of Texas, on the basis of the following understandings and agreements:" ;
I've download and installed the SDK. Where is the documentation for the SDK? I'm looking for latest documentation regarding IAC.where's the iac_api_reference.pdf? where's the iac_developer_guild.pdf?any other pdfs? What kind of crap sdk is this? Adobe should be ashamed for even allowing this crap SDK to be downloaded from it's website. CLEAN UP THE SDK and make it useful.
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.