Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I have many pdf files created from tiff files of scanned technical drawings which tiffs treat as what so-called an "Image Mask" in them when we analyze them with acrobat Preflight tool, now I want to know what an Image Mask is? How can I make a tiff treat as an Image Mask when it is converted to pdf in a simple way or with a tiny add-on or .exe software?Thanks and Regards,Omid Mansourbakht
Hello, I am trying to create a drop down box that has the options within auto-filled based on the selection from the previous box. I found code that worked on the forums, but any time a choice is made, it will revert back to whatever choice is listed first within the code.Dropdown box 1 custom calculation script is:switch (event.value) {case "Select:": this.getField("SubProvType").setItems(["Please Make a Selcetion In The Previous Box First!"]); break; case "Choice1": this.getField("SubProvType").setItems(["A","B","C","D"]); break; case "Choice2": this.getField("SubProvType").setItems(["E","F","G","H"]); break; } This will display the correct options in the second box, but if
In my job function I have to combine fields to generate letters for different departments. I can usually cobble together a working form, but in this case I'm hitting a wall. I'm trying to combine a text field with a number field without loosing my number field formatting. Example: The following results in "The cost is 1000" while I am trying to get "The cost is $1,000.00"var cost = "The cost is ";var OS = this.getField("Old Salary").valueevent.value = cost + OS;
Hello,I know there are a number of posts about this but I still don't know what I'm doing wrong. FYI I am very new to Javascript, so I just need some actual help with the formula. What I need is when the result of an equation is negative, then the number turns to zero. For example, MLA is the text box I am using to calculate the formula. The simplified formula I had was (NA/12). However that number is often times negative. So I tried to do a javacript with an if statement and it just wasn't working. Can anyone help me with this? THANK YOU!
Hello,i have a problem in the LCD with a document.Can somebody create a fourth DDL (column) like and after the first three examples, which are also connected with the first three ones (like the example)? It is important, that the answers of the new fourth range DDL is addicted to the third one. Thx
We have an old version of X Pro in DVD form and have problem installing it. Is a there a link to install for old version product? Thanks Jackie
I have a PDF generated off site by a 3rd party developer, that contains an embedded 3D model window. I have developed a Javascript that applies a "Preliminary" stamp across the face of each sheet. This stamp interferes with the model interaction, so I would like to leave the stamp off or modify the stamp in someway if the window is present. The problem is we do not know ahead of time what sheet this window will be on. I am looking for a way to “scan” the page for this 3D canvas window. If I can find a way to identify this I could use an IF statement to skip this sheet when applying the stamps. The problem is I don’t see any unique identifier for this type of object. I am currently using Acrobat DC Pro.
Hi everyone, I'm trying to automate a custom button dedicated to page navigation, it would: 1. Set up a "mouse up" action to go to a destination at the bottom of my PDF. 2. Create a second button at the desired page in the PDF, it should reference where the original button is. Right now I've created a "destinations" tool to move to a specific page. However, I would like to set the destination to the newly created button and visa-versa. My employer struggles with technology and I believe creating simple buttons like this will help with the form creation and navigation. Here's some of my code: ("Buttons" is my array of buttons)for(var j = 0; j < buttons.length; j++){ if(buttons[j].name.substring(0, 7) == "FINDING"){ buttons[j].fillColor = color.blue; buttons[j].textColor = color.white; buttons[j].textSize
Hello, could you please help me to script the following in a pdf form:if A+B>10 then A+B=10Thanks
I'm currently creating a form where many of the questions are conditional and I have never worked with JavaScript before.For example, Q9 requires the user filling out the form to select radio buttons in Group "Q9" as "Yes" or "No". Based on their selection, a text box, another Yes/No set of radio buttons, or a list box will become required and change from "readonly=true" to "readonly=false". Another example, I'd like help with is for list box conditions. For example, Q9 has a list box appear after the Yes/No radio button has been selected, but the listbox has a second condition, the list box is multiple choice and if "Other" is chosen, a text box will become required and change from "readonly=true" to "readonly=false" as well to explain what "Other" is. Any help would be GREATLY appreciated!
I have a group of 2 radio buttons in two lines, related to the first the values a, b, (a*b)the second line a1, b1, (a1*b1). in a pdf form I would like to have a script that gives the following:if RB1 is checked the values a, b, a*b will appear, if RB2 is checked RB1 line will show no values and values in RB2 will appear and vice versa... RB1 a b a*bRB2 a b1 a1*b1 Thanks
My form uses a bunch of custom calculation scripts and it works as desired, but once I save it, those custom calculation scripts stop functionaing. Can someone please explain to me how to make it so, regardless of saving the PDF document, the custom calculation scripts continue to function.
Hello community, I'm creating a form which concludes an dropdown field with multiple choices and custom user input enabled. How can I add autofill/autocomplete suggestions from the entry list based on the user input? Example: Entrylist: Test, Tree, HouseUser Input: TrSuggestion: Tree Thank you in advance for your help,regards,Tobias
I'm trying to set up a form so that four text fields will populate with data from a previously user entered field (separate text in each text field) at the same time. Below is a screenshot of the fields that I am looking to populate when "Sole-Trader" is selected from the "employment_type1" dropdown list: When the dropdown list is set to "Sole-Trader", the data for fields "undefined_68, 70, 72 & 74" is to come from the following fields, which have been completed earlier in the document. I have reviewed the existing threads and can find the following script, which I have attempted to modify, but to no avail: var v1 = this.getField("employment_type1").valueAsString; if (v1=="Sole-Trader") undefined_66 = ("residential_address_1"); else event.value = ""; Any guidance would be greatly appreciated.
Hello, I am a beginner. I have a value that is a weight in "kg" to be entered on the PDF form I want a checkbox or a radio button to be ticked automatically depending on 3 ranges of the weight entered:<1kg1-3kg >3kgI would appreciate it if you could help me to script that, and where to enter this script? Thanks(if the weight entered in the form is 2.5kg for example, only the second radio button should appear automatically)Thanks
Hi,I have field1 and 2. I have app.alert if both fields are 0 I get app.alert,but if only 1 is not 0 alert shouldn't pop.I'm getting alert until both field are not 0. How do i fix it?if(this.getField("field1").value == 0 || this.getField("field2").value == 0 ) {app.alert("Field1 or field2 need value greater then 0.");}
I am new to developing with Acrobat. We recently purchased Acrobat PRO DC nad my goal is to create an application to create "full text catalog' (PDX file set) without having to manually do it through Acrobat. My client deals with large PDF files and sometimes takes over an hour to index. The hope is my app can lauch and index the file before the client gets into work. I have made several posts in this forum and have learned a few things - at this point I am starting to believe that I am not able to create this PDX file set from scratch - there are tools to update and rebuild it but not create it from scratch. First question is can someone confirm for me that the "full text catalog" can only bre created manually through Acrobat? In my latest research with the "javascript for acrobat" documents I came across a javascript object "catalogjob" that looks like it might do what I am looking to do. Any information / examples out there using "catalogjob"? I don't have much exp
I'm running a simple document level function to send an email as part of a action. Everything works fine, but I was wondering if anybody has used a javascript to generate a file link, or hyperlink in the message body. I'm using app.mailMsg().
Can someone pls help me. I'm trying to create dialog box but I got stuck at checkboxes and don't know how to proceed, I have lookedonline for examples but still can't figure it out.What i want is if checkbox is checked and when ok button is pressed to target specific field,(example: ckb1 is checked and when ok button pressed field "text1" get value of 10, if ckb2 is checked "text1" get value 20...etc)(I won't be checking both at the same time so it doesn't matter what happen if both are checked at the same time.)I'm not asking for code just explanation or example how to do it. Thanks
In PDF form, Java script for inserting dynamic stamp "Received" or "Approved" along with default author, date etc.. I have created a PDF Form button, when the button is clicked, the "Received" stamp from Dynamic stamp annotation to be inserted in the particular position. Please, let me know the java script for this action.
Found this awesome bit of code to create a single pdf file from a given folder, but i can't get it to create bookmarks when inserting.In the Acrobat and PDF Library API Reference: InsertPages(long nInsertPageAfter, LPDISPATCH iPDDocSource,long nStartPage, long nNumPages, long bBookmarks) For bBookMarks - If a positive number, bookmarks are copied from the source document. If 0, they are not.I found the i have tried all of these options:PartDocs(0).InsertPages(n - 1, PartDocs(i), 0, Ni, True)PartDocs(0).InsertPages(n - 1, PartDocs(i), 0, Ni, 1)PartDocs(0).InsertPages(n - 1, PartDocs(i), 0, Ni, -1)What am i missing? any help would be greatly appreciated.Private Sub Command75_Click()On Error GoTo Err_Command75_Click Const DestFile As String = "MergedFile.pdf" ' <-- change to suit Dim MyPath As String, MyFiles As String Dim a() As String, i As Long, f As String
Maybe I'm expecting too much but was wondering if pdfs and javascript would be able to do this.I have a form that I would like to have it do the following.Do a "save as" to a specific folder using the date from the date field and name from the name fieldAfter saving to the specific folder with the new name, this new form would be flattenedThe submit button to this new form would be removed This may not even be possible but I thought I'd ask. Thanks!
1. How to use "else" without if?example:var sum1 = this.getField("field1").value;var sum2 = this.getField("field2").value;var total = sum1+sum2;event.value = total;else event.value = ""; 2. In custom dialog box how to make "cancel" or "other" button do the same as "ok" button?example: commit: function(dialog){var data = dialog.store();this.strName = data["usnm"];},butn: function(dialog){this.strName = data["usnm"];},but it does nothing.if I set it like this:butn: function(dialog){dialog.end("butn");then it works, but I want it to do same as "ok" button.
I'm creating a form to extract pages but i'm having some trouble with it. The page range form fields are called s1s and s1e but the error is saying that its an invalid range. Can anyone help?Code:function extract(){var job = this.getField("jN").valueAsString;if(this.getField("s1s").valueAsString!=="" && this.getField("s1e").valueAsString!==""){var s1s = Number(this.getField("s1s").valueAsString);var s1e = Number(this.getField("s1e").valueAsString);this.extractPages(s1s,s1e, job + "-1.pdf");}}
Hi All, I've been attempting to use a dialog box to add two new cases within my PDF form on Adobe Acrobat Pro DC. I used Javascript customize the inputs and have tested it using the debugger. However, it will not let me access/use the data passed in the box or add it to the form itself. Here's the simple dialog box:Two cases: observations and references.Click Okay Now I want that data to automatically load onto the page. How can I implement a functional dialog box like that for my user? Thanks for the help in advance. I'm new to this and I want to make the user experience as easy as I can.
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.