Unlock the power of Acrobat SDK through our community.
Recently active
I am running Acrobat XI on Windows 10 and setting up a fill-in form. I am having a problem with setting up a field to do a calculated total.The first field has the user enter the number of widgets sold. The field is formatted as a number with no decimal places.The second field has the user enter the price per widget. This field is formatted as a number with 2 decimal places.I want the product of fields one and two to appear in field 3, which is also formatted as a number with 2 decimal places. When I open the properties box for field 3 and go to the calculate tab and select value is the product of the following fields and click the pick button, I can see fields one and two in the field list, but clicking on the buttons to select them does nothing, i.e., I can not select them (or any other field for that matter). The check boxes just remains white when I click on them.Clay
An error message is displayed if the value of a PDF form cell is blank or 0.The message is "The value entered does not match the field format".Please help me to know how to fix the issue. Although the calculation itself is possible. But the error message shows up each time when a cell is entered. I need to have a solution to set the appropriate JavaScript of the form.
Hello, i refer to the following link: JavaScript™ for Acrobat® API Reference. How do you correctly address text fields and selection fields in Javacript? Is there a short form in Javascript regarding mandatory fields? Example code that does not work: var empty = ""; if(this.getField("Example") == empty) { app.alert("Error"); } This is just a test. How should the Javascript code begin in Adobe? Best regards Christian Huml
Greetings all,I have been tasked with making an interactive map for a learning exercise course. This only needs to be a map base graphic with some icons simulating different modes of transportation (i.e. - trucks, trains, planes), different building types and so on). The participants just need to take a scenario and determine the most effective way to get resources A to destination B by collecting there icons and drag them around on the map until they figure a solution.All I need to do is just have the icons CLICK and DRAGABLE...the problem is, IT CANNOT BE FLASH-BASED...argh! This is extremely easy to do in Animate but the Flash Player is required to display the SWF file in the PDF...which as I said, is not an option.The client has requested a PDF and I'm hoping I can deliver...does anybody have add a CLICK and DRAG code snippet for objects in Acrobat?And just in case you're wondering, I haven't asked if I can give them an EXE file...which would solve all of my problems...but EXE file
Hi,I want to add a button at the end of my PDF doc to send the doc.I shell use :addField ith "button" as the fieldType.How can I specify the following:set layout to: Icon top, label bottomset label to "send form"set and icon to a specific png fileset the action to "Submit a form"Set Select Trigger to "Mouse Up"Or perhaps to see all this, how can i see ALL the form and it's function properties? this would allow me to see the proper properties to set.Thanks
Hi, I have a built a PDF document in acrobat, where i have spawned pages included. I have achieved dynamic section headings (3.1, 3.2, 3.3 etc.) for the document using the following script for a first in line of spawn pages event.value = "3." + ((event.target.page - 5) * 2); this.calculateNow(); The problem that i am having is that using this style of code then also modifies section headings after where the spawn page is placed. I have 4 different spawn pages that slot in as additional test pages if needed. I need some help to be able to set a field to start from 1 and then subsequent add fields to find that field and add .1 to it, this needs to work across the spawned pages too. I have attached a redacted version of the document, if you navigate to page 8 and use the button the add calibrations it works nicely, but then it changes the validation section headings and subsequent add on pages for validations too. Any help would be appreciated, i have been trying
I am wondering if i could get some help in writing a simple script to go to a specific text field. I am working in Acrobat for example when a checkbox is actioned (ticked) to go to a relating field where comments are to be made. I know there is the basic pageNum = 1; etc. coding, but that will only take me to a page, not a specified field.
I have a calculated field that is formatted as a percentage and references two other fields. I am checking for zeros before doing the calculation. The answer is correct but I get an error about the formatting of the answer when zeros are found.I am using the following code which I got from an answer by try67 ... var v1 = Number(this.getField('testWt').valueAsString);var v2 = Number(this.getField('ratedCap').valueAsString);if (v2 == 0 || v1 == 0) event.value = '';else event.value = v1 / v2; How can I stop the error message as I want the answer as a percentage?
Hello everyone, So I'm tring to create a custom calc script wherein two dropdowns (selection for unit values, e.g. mg/mL vs ug/mL) have their values selected by the user. The user also fills in numbers for other fields. Then calculations using those other fields are performed to return an answer to yet another field. Here is my sloppy prelim version (I just started learning this java stuff 2 days ago, so please bear with me): if (this.getField("Dropdown8").value=="mg/mL") && (this.getField(“Dropdown88”).value==”ug/mL”)) event.value = (this.getField("mls8").value*this.getField("useat8").value/this.getField("stock8").value/1000).toFixed(2) Such that if units for one field are selected as mg/mL and units for the other field are selected as micrograms per mL (ug/mL) then the target field performs that ridiculous calculation and returns it to 2 decimal points. I just get syntax errors the whole time. Thanks in advance for the help!
Hi, A would like to set this kind of format in number field: 1 221,00 1 546 684,54 154,00 etc. I know one way:event.value = util.printf("%,2.2f",event.value).toString().replace(/\./gim," "); BUT if number field is empty, it shows "0,00".ButI don't want to see "0,00" in empty number fields, just nothing. Could anybody help ? Robert
We have a program that merges multiple PDFs into one and then there is an option to create an electronic signature to a separate PDF that is post fixed to the merged files. We found a problem doing this when one of those initially merged files is a submittal form. I'd like to flatten those files programmatically before being merged. Is there a way to do this in DC from VB.NET? Thank you
Guten Tag zusammen, gibt es eine Möglichkeit bei Adobe Acrobat pro DC bezüglich Formularerstellung auch den Text auszublenden wenn dieses genannte Formularelement ausgeblendet wird oder ist das nur in JavaScript möglich? Mit freundlichen Grüßen Christian Huml
Hello All,Compiled Acrobat DC SDK, examples, it compiled and build with .api plugins. I copied those plugins toC:\Program Files\Adobe\Acrobat Reader DC\Reader\plug_ins folder. But it;s unable to open and even manually for reader DC (attach ).I installed Adobe Acrobat Reader DC 2015 release, Version 2015.020.20042.From Help ->About Adobe Plugins, this window is not displaying third party .apiHow to open third party .apiThank You,Answers Appreciated
Hello, I have created a form that once you push submit it sends an email (using javascript) with the filled pdf. Would there be anyway to get this email to also contain a calendar invite? I just cannot figure this one out at all.Thank you,Nick
I have created a editable form with the help of Acrobat DC which has few fields and a submit button with action to submit to web-service url. The form data is submited to the url fine on desktop browsers. But does not work on mobile Acrobat Reader. We also tried using JavaScript to connect to the soap web-service but the url is not called when I open the PDF in Mobile Acrobat Reader. Is this feature available on mobile acrobat reader? If no then do we have any other options to achive this functionality? Any ideas, kindly share.
Hi, I am sure the answer is out there and have probably missed it. I have created a form in indesign, exported it as interactive pdf. One of the cells (Deficiency) has a drop down list with options Yes/No/ N/A. I would like the fill colour of the box and its two adjacent cells to change to Red wherever the deficiency option is YES. Is this condition possible (either in Acrobat or even Indesign) with text values or does it only work with numeric values? It's the first time I am using javascripts so I am pretty uncertain what to change in the codes I found which could potentially offer the solution. Screenshot of form attached. Much appreciate any help or suggestions- thank you!
Hello everyone, I need help on my Adobe Acrobat Reader DC. It's been 3 weeks trying to solve this problem and it's frustrating. I want to add a custom menubar in my Adobe Acrobat Reader DC, I tried to put a BasicPlugin.api in:"C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\plug_ins". When I tried to run again, I don't see any changes the in menubar. Also changed the setting in Edit -> Preferences -> General (tab) -> and I unchecked the checkbox button where it says Use only certified plugins, Currently in Certified Mode: Yes. But it seems like Certified Mode is always set to Yes, it doesn't change at all. I downloaded the Acrobat DC SDK, and looked into the files, there is a folder Reader-enabling Tools\win.And inside this folder there are 2 executable files (MakeKeys.exe and SignPlugin.exe): When I tried to run the Makekeys.exe: When I tried to run the SignPlugin.exe: I searched all over but haven't get any clue how
Hello All,I'm sure these questions have probably been answered at some point and I wasn't able to find them, so here goes.I have Adobe Pro XI and I had a few questions about the tool/action wizard section. I have a lot of tiff images in multiple folders in multiple directories. I'm trying to combine the files in each individual folder into one PDF file, OCR the combined file and finally endorse it. Right now I can only create an action with the "Recognize Text using OCR", "Add Bates Numbering" and "Save to Local Folder" actions and I have to run the "Combine Files into PDF" action separately because it can't be added to the action that I have created.I wanted to use the "Combine Files into PDF" action with other actions. Is there a way to add this step to the action that I created? Or is there a workaround to this issue/problem? Is there a way to run the "Combine Files into PDF" action on multiple folders and not have Adobe combine all the tiff images across all folders into one PDF. F
Hi, I am working on a PDF in Acrobat Pro DC and need some help with some JS that is eluding me. I am trying to make the text color change based on an expiration date. If the date is today or earlier to change text to red. otherwise black. Here is what i have at the moment put in the custom calculation script, i have tried many different versions i just cant get it to work. I cant seem to find anything anywhere on line for this. Any assistance is greatful on where i could be going wrong. var Date = util.printd("dd-mmm-yyyy", new Date()); if (event.value.date <= Date) { event.target.textColor = color.red; } else { event.target.textColor = color.black; }
I would like to create a YES or NO answer in a text field using 2 conditions. if 'TotalFamSize' = 1and the value of 'TotalFam6MoInc' <= the value of 'Six-Month Inc1'then'Level1Met' value is "YES"else value is "NO" Thanks for any help you can share.
I have a reset button to reset specific fields, but is there a javascript to allow the user to choose themselves which field they want to reset? rather choosing the fields for them. I'm using adobe pro Thank you so much!
Is this.removeField or something else in the below script a trusted function?I'm trying to create a button that will delete fields by type. I want the button to delete buttons, checkboxes, and radio buttons.I already have this as an action and it works, but I'd like it as a button for easy access and for other users to use.I'm getting the following error: NotAllowedError: Security settings prevent access to this property or method. Doc.removeField:11:AcroForm:MouseUp:Action1Below is the script I've modified from another forum, but can't seem to find the link to reference. The only difference is I added the or operand to find multiple field types. It's set to a mouse-up event. I've also tried putting most of it document level except for the last for condition and the delete button action., but that still produces the error. Additionally, I tried this.removeField with a named field and it works. I guess I'm not seeing anything that would require a trusted function...//Remove Buttons and
I would like change the current default highlighter color programatically with javascript. The manual equivalent would be selecting the highlighter tool then using the highlighter tool properties bar to change the color so that my next highlight will be in the newly selected color. I'd like to change the color PRIOR to making a highlight (as opposed to making a highlight and then changing the color of that last made highlight). Is this possible? I use color coded highlighting extensively and the inability to rapidly switch between ~6 colors makes it very difficult to use Acrobat as my primary PDF reading application. Thank you in advance.
Hello community, I need some help with a solution.This issues occures on Windows 8, with Adobe Acrobat Pro.The Error message is: Adobe Acrobat Reader DC has Stopped Working. "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is avialiable". Two key things. These .jpeg files will open with other apps like Windows Photos, paint and word.I have uninstalled/reinstalled Adobe Acrobat Pro twice. I could use some help with this issues as I cannot find help online, Thanks all in advance!
Is it possible to specify using Javascript properties of barcode fields (symbology) and also value when using this.addField(); I have not found any info for this in the documentation. For text fields yes, but not for barcode properties.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.