Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
As a fledgling scripter, I'm creating a PDF form that acts as a calculator from which lay-user can compare a few similar consumer products based a couple variable choices they may make. Within the form, I have built a hidden input form to which a [non-developer] Admin can adjust the data in fields of each of the displayed choices before hiding the input form and distributing to the intended lay-users who would use the calculator to make consumer choices. This whole project is coming along nicely, as I intended. But, my question... Is it possible to "group" fields in a way that would allow me to treat them as one for the purpose of making visible or hidden? Example, in that hidden Admin-input form, each of 4 potential products has, say, 25 fields in which the calculable source data may be changed by Admin before distribution. So, currently, if I have 4 products to compare, I have 100 individual fields to make visible/hidden based on Admin's password field and button. My current script m
Acrobat Pro just started crashing this morning for no apparent reason.I am running an older version of Acrobat Pro (9.5.5) on Mac OS 10.11.6.Any ideas on why this may be happening?Also, this happens almost immediately after I open Acrobat Pro, regardless of which file I open.
I have created a dynamic form in Acrobat DC where selecting a button will make certain fields required and/or suggested (using green border around the field). I was able to do this successfully with everything but the combo box. I need to be able to make certain fields (text and checkboxes) required or suggested based on the selection in the combo box. I haven't been able to find exactly what I'm looking for googling this. Any help is greatly appreciated!
I apologize in advance. I am sure this has been asked and answered here more than once already, however I am not getting anything when I search and I am sure that is due to my ignorance on the subject and not searching it the right way.My questionI am building a form for a contract. In the Contract I have term limits, for example 3 years or 5 years. This term is referenced several times in the document in various ways. For example: 3 years, three (3) years, 36 months.I want to be able to choose from a picklist either 3 or 5 and have it auto populate the other fields with their version required.If 3 years is selected in field1, than for field2 = "three (3)", field3 = "36"I hope I am asking this the right way.I appreciate your help.
It was hard to write a concise leading question for this one... I create and manage files for several different companies. These forms are often similar in structure, and often have many of the same field names. For example, both Companies A & B have two different locations. The user selects a location by choosing a radio button. The field "LOCATION_NAME" contains a script that displays the name of the location dependent upon the radio button selection.Yesterday I happened to be working on both forms (two separate files) at the same time. I was testing out some code and noticed that Company A was showing location info from Company B. The script for "LOCATION_NAME" in the file for Company A, had changed to the same script as Company B.Is this a known issue? I've been working on forms in this manner for years and I've never had this problem before.
I'll try to make this as simple as possible... I have two columns of values (numbers) on a form I'm working on. The end goal for the user is for the value in Column A (TotalField) to equal the value in Column B (VerValue). I have written a function that compares the values, and displays one of two buttons depending on the result: either a red circle if the values are not equal, or a green circle if they are.Here's where it gets funky. In testing the function, the red circle appeared when the values were equal, and the green when they were not. Upon switching the conditions it displays the correct result. Below is the function (written the way it is currently working, which shouldn't be correct) and the code that calls it (placed in the validation script of each field in Column B). The buttons are named the same as Column B appended with either "_N" (red button) or "_Y" (green button).function verifyButton(TotalField, VerValue){var VerName = event.target.name;console.println("Function v
I am developing a scope sheet for a construction company. I want to have the employee/user to get to the room size portion of the document to be able to put in: 5,3 to represent 5'3" but once they enter/tab out of that text box it converts to 5.25. I can do last conversion (converting to a decimal) - I am stuck on having the "Feet,Inches" / "5,3" - represent 5'3" format. I'm also up for any suggestions that would solve this issue any other way (and most likely easier since I always tend to make things complicated) - Thank you all in advance!
I have a two page doc. It's a spreadsheet that I fill in quantities. The problem I'm running into is, at times, I run out of space and fill in fields. I want to be able to add a additional page(s) when needed. Would using a template be the answer? If it is, I just don't know how to do it. I've searched thru the tools menu and found something named Template. The thing is when I click to add the page, the page disappears. It's a bit confusing and I can't figure out how to make a template page from the spreadsheet page. Can someone help me get this done and explain how to get the most out of using a template. Thanks guys.PS; I'm also gonna need a bit of script to add to the popMenu button to select to access the additional page.
Hallo,ich habe den Adobe Acrobat DC. Nun möchte ich mittels eines Scriptes / Mac os , das für ein gescanntes Formular automatisch die Texterkennung abläuft.Das Script sollte also den Acrobat öffnen, auf dem gescannten Dokument die Texterkennung bzw. "Scans verbessern" durchführen und das bearbeitete Dokument wieder in den Ursprungsordner ablegen.Leider habe ich nichts für Acrobat gefunden 8und hoffe so, das mir hier jemand helfen könnte.Für das Programm OCRKit Pro hab ich dieses Script gefunden:teltell application "OCRKit" open theFile as alias tell document 1 ocr repeat while performing ocr delay 1 end repeat delay 1 close with saving end tell tell application "OCRKit" quit end tellend tellGruß Sascha
I have added the both files types (xlsx, pptx) in s_code.js. But It isn't shown in the download file download report. Why it is not showing is there is any changes want to be added in other files. please help on this.s.linkDownloadFileTypes="exe,zip,wav,mp3,mov,mpg,avi,wmv,pdf,doc,docx,xls,xlsx,ppt,pptx"
If anyone is willing to help I would greatly appreciate it. I have two fields "l1" and "l2" and "l3" that populate with numbers positive or negative. "l4" is supposed to add "l1" + "l2" ONLY if "l2" is positive. If "l2" is negative then this number should not be subtracted from "l1" when these two numbers add together. "l3" will always be a number that is subtracted in this equation. I wrote my script below and it works perfectly when "l2" is positive. When it is negative it subtracts from "l1" which is not what I want. I have looked at this for hours an cannot figure out how to finish this off. Any input would be much appreciated.var theField = this.getField("l1");var theValue = theField.value;var theField2 = this.getField("l2");var theValue2 = theField2.value;var theField3 = this.getField("l3");var theValue3 = theField3.value;if (((+theValue + +theValue2) - +theValue3) > .001) { this.getField("l4").value= (((+theVal
Is it possible to create trusted functions on a tablet (Android or iOS)? I want to allow the user to click a button and it will save the form to a specific location, with a filename based on a couple of fields on the form. The button calls a function in the AppUser directory, because it needs to be a "trusted function." This works for Desktop (Windows). Can I create this functionality for an Android or iOS tablet?
I'm running Acrobat Pro DC. I have a text field ("CC.CardNumber") with an Action/OnBlur event that runs the following script that produces this error. I've researched this for hours and can't see where my code is incorrect.var fld = this.getField("CC.CardNumber");var first = fld.value.substring(0,1);fld.value = first;TypeError: fld.value.substring is not a function3:AcroForm:CC.CardNumber:Annot1:OnBlur:Action1Exception in line 1051 of function AFSimple_Calculate, script byteCodeTool
hi All,I have no experience in creating calculation scripts in Adobe Acrobat, but now having made a transition to a paperless office, I need to create some new documents that have java calculation scripts within.Initially the documents were in excel format and had Sum calculations at the bottom of each range.i.e.A1:A5 have single numbers from 1 thru 5A6 was a sum of A1:A5 but with a twist!The sum only rounded up if the sum was greater than .6 (point 6)and rounded down if the sum was less than .6 (point 6)My original excel calculation is shown below if it helps=IFERROR(IF(MOD(AVERAGE(A1:A5),1)>0.5,ROUNDUP(AVERAGE(A1:A5),0),ROUNDDOWN(AVERAGE(A1:A5),0)),0)I assume this will use the Adobe text box names a references to calculate a sum, rather than a cell reference, but I am a little lost.Can anyone assist in creating a java calculation to achieve the same result?Product is Adobe Acrobat Student Teacher Edition 2017, but this is only installed on a few systems, Adobe Reader DC is the mai
Salve,esiste un javascipt che prevede un' auto population di testo ed immagini di una web page (url ) all'interno di un file PDF? Tramite field o mappaggio?In sostanza il testo della web page cambia spesso e vorrei creare un file pdf che prevede l'inserimento automatico del testo ed immagini da un sito.Grazie in anticipo per il supporto
I have Acrobat 9 Standard, and the corresponding SDK. I'm working on an older MS Access 2003 program using VBA. I want to programatically combine 3 PDFs into 1. I have gleaned examples and advice from various forums to create the code. The code compiles with no errors, but when it's run, I get that old error: "Error in loading DLL."The Reference is: Adobe Acrobat 9.0 Type LibraryThe path listed is: C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.dllAnd the file is there.When choosing the Reference, I check just plain "Acrobat", which Access switches to the above file. That file is not listed separately among the numerous Adobe and Acrobat DLL References available. I tried choosing other DLLs in place of "Acrobat", but they will not compile. So, Access recognizes that DLL, and finds the objects used in the code, compiling it without error.Dim pdfOrigDoc As ObjectDim pdfNewDoc As ObjectSet pdfOrigDoc = CreateObject("AcroExch.PDDoc")Set p
Hi,I would like to make a button that automatically fills out my form.Actually, I am trying to make a sort of a shopping cart, when I press the button the text attached to this button will appear in my form, text - in one colomn and a price in the other one. The prices sum up to get the total.Could anyone tell me if its possible to do with javascript, and if yes what code to use?You would really help me out, thanx in advance fot your answers
I have 2 printers. One is specially bought for shipping labels.All my shipping labels are generated pdf files with smaller dimensions (153,8 x 106,2 mm, let's say A6 format).As I use the other printer on the same machine (iMac) for all "normal" A4 pdf documents, I always have to be careful not to waste shipping labels, using Acrobat Reader DC taking into account the last chosen printer will be preselected in the print dialog box. This, of course, is the normal behavior of Acrobat Reader.My Acrobat Reader DC:Architecture: x86_64Build: 18.9.20050.254034AGM: 4.30.72CoolType: 5.14.5JP2K: 1.2.2.39492My iMac:OS X El Capitan version 10.11.6The next script normally should launch the print dialog box with the best printer preselected (in function of the paper size).the printers on my iMac are known as "DYMO LabelWriter 4XL" (for the shipping labels) and "Brother HL-L2360D series" (for A4 documents).from the moment the document has smaller dimensions (< 160 x 108 mm), the Dymo label printer m
I would like to retrieve specific pages from multiple multiple page PDF files. Can I add search TAG (like) information to each page for that purpose?
iam new in adobe component field.i have a drop down, with 4 item. where 1 item was a default item.i set "--select--" as default item.what i want is when i click on the drop down. item `--select--` was hidden or not show.but then i click on my custom button where it is a reset form. the drop down value back to pointing at `--select--`thanks
Hello Guys!i just want to ask who's an idea how to create javascript codes that the image field we can upload auto cropie or auto size image.by the way im using with this javascript code : event.target.buttonImportIcon();Guys please who's have an idea please comment below. i really needed!Noted: i need this similar to this https://scottcheng.github.io/cropit/ but for adobe acrobat javacodes!Thanks Alot!
Hello everybodyHow to hide the JS code from viewing? I saw the options when the code is stored in binary form, tried to make of EST, put it in the hostscript, but could not execute.
I recently used Thom Parker's "Changing another field with combo box (drop down) selection" article (Thanks Thom!) to make a form that has two text boxes and one drop down. Depending on what you select in the drop down, the two text boxes are populated with unique sentences. What I would like to do is have an additional drop down that contains a word or number selection that when chosen would place it into one of the sentences. For my form, I have a drop down that you select why you are advising someone, which populates the 'Reason for Advising' text field with a small explanation and also populates 'Plan of Action' with a short summary of what we intend to do. Right now I have created an underlined section in the sentence where the user can simply type additional information, but I would like to have a second drop down that they could choose from to populate that area of the sentence. So looking at Thom's original document script:// Place all pre-population data into a single data str
Hello,I am a visual designer with very limited js skills but am wondering if anyone could help me with an interactive PDF I've made in which I want to save whichever layer is open. The layers are set to display as radio buttons are clicked and there are 60 different layers. (I know.)I found one piece of code just googling on line, which appears to be saving which radio button was selected but not displaying the corresponding layer.function SetLayer() { // get the radio button status var layerName = this.getField("Layer").value; this.getField("LayerName").value = layerName; var ocgArray = this.getOCGs(); for (var i=0; i < ocgArray.length; i++) { if (layerName == ocgArray.name) ocgArray.state =
Hi, I am trying to tweak a timesheet that I have added a dropdown box that has dates entered into the <Options>, <Item List> as "1/6/2018" and every 14 days til the end of the year. Where I am stuck is trying to get the javascript that will take the chosen 'Pay Period Ending' date and add to the 14th date field. Then I am trying to get all the other fields to start from this date -1 so that each date of the two-week period is shown. This way, the dropdown date will automatically update the pay period dates. I made some progress following these instructions https://answers.acrobatusers.com/How-autofill-date-field-based-field-selection-q286091.aspx and got the end date to reflect my date but could not get subsequent fields to -1 from the other for the staggered dates I need. The only other issue was date format in that drop downs are MM/DD/YYYY but the 14 date fields for column hours tally are too small and need to be MM/DD. Thank you.
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.