Unlock the power of Acrobat SDK through our community.
Recently active
Please help me
Hi All, This is regarding an IF statement in excel to "translate it" in JavaScript for PDF forms.I know this kind of question has been addressed so many times, however, all of the questions are with only 1 cell, whereas my case is a bit more complex.This is the excel function as is:=IF(B12="Ball",IF(C26=1,20,IF(C26=2,30,(C26-2)*5+40)),IF(B12="Rocket",IF(C26=1,10,IF(OR(C26=2,C26=3),15,20))))As you can see there are multiple dependent cells and I can't seem to make it work in Java. Note: every cell name is a corresponding field in PDF form. Your support will be highly appreciated.Thank you,Mihai
I am trying to integrate hardware security to a pdf file. I am using a USB dongle which I normally use as a software piracy protect scheme. It works by linking a DLL to an application's source code, and checking that the dongle is plugged in before loading the application. Then you call the functions from the DLL and it authenticates that the USB dongle is attached, and that it is programmed with the correct codes. I'd like to create code which can add this functionality to pdf documents, as relying on a password for distributing a pdf file seems only mildly secure. If I can get it working the dongle would be a great way to create 2 factor authentication for pdf documents. From some cursory research it is apparent that there is not a way to load DLL's using the standard Acrobat Javascript references. However, I see there is support for creating custom plugins. Before I sink a lot of time and research only to find out this wont work, I wanted to create a post to get some
Over the weekend I lost my adobe printer icon in my printers stopping me being able to print to PDF from MS Office. I uninstalled Adobe Acrobat and reinstalled, but the icon never returned. How can I get the feature back?
Hello, I need help. I am working on creating some error checks so I can reduce the need to return a form for revisions. I am trying to write JavaScript to compare two fields "*S2 HR Meal Count" and "*S2 LR Meal Count." Both fields cannot have information in them, if they do then I need to return a message of "Cannot have both High Rate and Low Rate." Below is what I have come up with... if (this.getfield("*S2 HR Meal Count").value >0 && EC5 = this.getfield("*S2 LR Meal Count").value >0) event.value ="Cannot have both High Rate and Low Rate."; else event.value =""; I am getting an error in the JavaScript editor. I don't know enough about this to know what I am doing wrong. I'm learning as I go. I've look at a lot of other posts and can't find something that matches what I'm trying to do. Yes, I know that my field names aren't the smartest, but it was before I started writing JavaScript. Thanks in Adva
I need a little help.with the code for open the pdf documen and make zoom in a specific position of the page all at once when this is open.thanks in advance, for the inconvenient.
Good Morning,I have tried the adobe reader embed api, but it only brings me basic functions of use, I would like if someone can confirm if there is an adobe acrobat dc service where I can embed it in my system and the certified signature can be added. signature example:
Dear All,is it possible to add text automatically to a pdf from a excel worksheet? In this case, i would like to add "XCKA-1P" to the PDF.Thanks in advance! PDF: And Excel:
I have a 3 page document in Acrobat, each page having a text field on. How do I link the 3 text fields one each page so that the text flows between them. Once field 1 is full the text flows into field No. 2 and so on. I have zero experience in Javascript but after searching about this, this is possibly how I can do it. Any help would be greatly appreciated. Thanks.
I am trying to find a solution to make fillable PDF forms friendlier for my customers, and would like to have a solution that if they check a box as true, the following fields information would be feed by same information of above fields, so that they would avoid typing the same information more than once.Is there a possibility to create such JavaScript or function?
I need a little help.with the code for open the pdf documen and make zoom in a specific position of the page all at once when this is open.
What is the correct custom script for the field suming all checked boxes (Check Box6.1, Check Box 6.2 and Check Box6.3)? Appreciate your help! I tried to read previous posts on total of check boxes but those scripts didn't work.
I regularly work with PDFs from various authoring software applications (InDesign, Word, etc.) so am very familiar with the accessibility tagging tools in Acrobat. Recently, when trying to tag a restaurant menu in Acrobat DC (originally created in InDesign, but not exported with tags), I'm coming across a glitch with the "Reading Order" tool.If you open the 'Touch Up Reading Order' panel located under 'Accessibility' in the Tools pane, then select an element and choose 'Background' for the content option, it will no longer allow you to tag anything else in the entire document. And of course, since there is no 'undo' function for tagging, you have to clear that page's entire structure to be able to work with this tool once again.A workaround for this is to simply not use the background option in the 'Touch Up Reading Order' panel, and instead tag your background elements as something arbitrary, then use the tags or order panels to change the tag type. This is obviously much more cumbers
Hi there,A quick question regarding text field validation, please can someone point me in the right direction?I'm trying to validate a text field, that's a comb of 2 characters, to only allow values from 01 - 11.Setting the form field format to number means losing the leading zero which I'd like to keep.So far I've come up with this...event.rc = true; if (event.value != "" && event.value != "01" && event.value != "02" && event.value != "03" && event.value != "04" && event.value != "05" && event.value != "06" && event.value != "07" && event.value != "08" && event.value != "09" && event.value != "10" && event.value != "11") { app.alert("The entered value needs to be from 01 to 11."); event.rc = false; }This code does what I need however it allows the user to enter anything into the field because there is no format on it.Is there a nicer way to restrict the user to entering numbers only, check
My project is creating a dynamic stamp with a custom dialog box that stamps a group of files with an auto-incrementing exhibit stamp. I have an issue that I could use some guidance on. The dialog box asks for Exhibit Type, Prefix, Starting Value, Case#, and Page Location. I want this dialog to appear once before the first document, and then to batch process the other documents using the stored values. I know the variables need to be stored in a global variable, but I don't know how to prevent the dialog box from popping up each time. I've searched community post and read "All About PDF Stamps" with no luck on finding what I need. Does anyone know how to script this or if there a resource I can look at?
Hello, I am using a MouseUp script on both Image9_af_image (star) and Image8_af_image (peach background). However, when they are overlapping, as in the screenshot below, and I click within the star's box, only Image8_af_image receives the MouseUp event. Is there a way to make Image9_af_image receive it instead or have both receive it?
I am setting up a fillable form using Acrobat DC. It is intended to be a quick and easy way of creating invoices to customers. There are fields for FirstName, LastName, Address1, Address2, PostCode, TelephoneNumber, Email, InvoiceNumber, ItemDescription, ItemCost, Total. I have created a submit button for the form. When I click it, it currently opens my mail client, fills the Subject field with a specified text, creates body text, including taking the recipient's first name from the form as a greeting, then sends a copy of the pdf to my email address, and to the recipient's email address, again, taken from a field on the form. That's all working well. I want it to do more though. This is the workflow I would like: Click Submit > OnMouseUp > Hide the submit button > Flatten the entire file so that it is no longer editable, Create a new PDF file from the original pdf, naming it with input from the InvoiceNumber field on the original > Save the new file to the same folder as t
Hi all,I hate doing this because I know, at its core, this is easy...but, I'm crash-learning Adobe/Javascript after developing basic interactivity in VB for a document that now is getting transferred to a pdf, and thus losing its VBA'ness. But, enough whining, and onto the issue:I got two sets of two checkboxes (which, could - and probably should - be radio buttons grouped as two groups of two), lets say Group 1 contains Checkboxes A and B, and Group 2 contains C and D...they are named CBA, CBB, CBC, and CBD respectively. I also got a text box that needs to be populated with different text based on the four possible combinations of selections that could be made amongst the CB's. The text box is named "Text2". So essentially, I need a script to replace the text in Text 2 based on the checked or unchecked (or radio'd) nature of the combinations:CBA-CBCCBA-CBDCBB-CBCCBB-CBDAny assistance you can provide in putting this code into Acrobat - would be appreciated. Thanks, in advance
I am collecting data from a form I created and sent out to several recipients. I have created the response file and have correctly added Returned Forms. My issue is that for two response forms, it appears that the participant somehow changed the field names, and for these two sets of data, they "have different fields." I need the data from all data sets to align properly, otherwise I cannot do the appropriate analysis of the information. Is there a way to fix this? Is there a way to fix the field names on the returned form so that it matches with the rest of the other returned forms' field names?
I'm trying to create a work flow "pop up" when my form is signed... i.e. once signed, a popup will then direct the user to email the form to the next person for signature... I've tried several scripts...does anyone have one that will workthank you
Is it possible to change the signature color properties? I don't see a way. thanks.
Hi. I am trying to add a custom calculation formula and I don't have much experience with these. I would like my form to automatically update one text field depending on what is added to another text field. For example, if 951000 through 954000 is added to DeptID I want Fund to autofill as 225 and if 956900 is added to DeptID I want Fund to autocalculate as 569. If 957000 is entered in DeptID I want Fund to autofill as 570. I am using the custom calculation below and it works the first time I enter the DeptID but it doesn't update if I change the DeptID. And if I leave the DeptID blank it is keeping 569 in Fund. What am I doing wrong? I am entering this code in the Fund custom calculation:var DeptID=Number(this.getField("DeptID").valueAsString);if(DeptID=956900) event.value=569; else if (DeptID=957000)event.value=570;else event.value="225";
Is it possible to get bounding box of a field as an AcroRect object ? CAcroApp acroApp = new AcroAppClass(); CAcroAVDoc avDoc = new AcroAVDocClass(); CAcroRect acroRect = new AcroRectClass(); CAcroPDDoc pDDoc = new AcroPDDocClass(); if (!avDoc.Open(sample_pdf, "")) return; else pDDoc = (CAcroPDDoc)avDoc.GetPDDoc(); IAFormApp formApp = new AFormAppClass(); IFields myFields = (IFields)formApp.Fields; IEnumerator myEnumerator = myFields.GetEnumerator(); while (myEnumerator.MoveNext()) { IField myField = (IField)myEnumerator.Current; string fieldName = myField.Name; string fieldType = myField.Type; } I need to replace myField of type checkbox to a text field of same size at same location. I can remove checkbox by while (myEnumerator.MoveNext()) { IField myField = (IField)myEnumerator.Current; string fieldName = myField.Name; string fieldType = myField.Type; //Remove Checkbox field type if(fieldType=="checkbox") myFields.Remove(
Hi there, Just a quick question regarding checkbox groups. I have a group of checkboxes and they're all named the same - xyz.I can reference each checkbox as below:var w = this.getField("xyz.0") w.checkThisBox(0,true);Using the index xyx.0, xyz.1, xyz.2 etc I can reference each checkbox individually. Is there a way to get the number of checkboxes, or widgets, in the group?I've tried a couple of things, such as w.length and w.count, but as yet haven't succeeded.Obviously when trying to reference the group I'm using var w = this.getField("xyz"), there is no index as the code above. Thanks in advance.
I have a form with 3 dropdown lists to select from.box 1 = product (works)box2= location (not working)box3 = Pipeline (works) Box 1 is supposed to determine the data for box2 and box 3.for some reason, box 2 is not populating ...Im only getting a value in box 3 when box 1 is selected.var drop = this.getField("drpLocation"); var drop = this.getField("drpPipeline"); if(event.value == "DSW-CUSHING"){ drop.setItems(["CUSHING, OK"]); drop.setItems(["ENTERPRISE"]);} else if(event.value == "WTI-CMA"){ drop.setItems(["CUSHING, OK"]); drop.setItems(["ENTERPRISE"]);} else if(event.value == "WTI-COLORADO CITY"){ drop.setItems(["COLORADO CITY, TX"]); drop.setItems(["WTG","BRIDGETEX","MAGELLAN","NUSTAR","PE2","PE3","PE4", "ex-WTG","ex-BRIDGETEX","ex-LONGHORN","ex-PE2","ex-PE3","ex-PE4"]);} else if(event.value == "WTI-CORPUS"){ drop.setItems(["CORPUS CHRISTI, TX","ROBSTOWN, TX","INGLESIDE, TX","TAFT, TX","BUCKEYE"]); drop.setItems(["CACTUS I","CACTUS II","EPIC CRUDE","GRAY OAK","NUSTAR","PLAINS
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.