Unlock the power of Acrobat SDK through our community.
Recente
Hi,I have a PDF form which acts as an inspection report for a manufacturing process at my work. I am trying to digitise the report so they can use a tablet instead of hand writing and then scanning the documents into our system.I have a simple validation script which turns the entered text into red for certain values:function if (event.value=="WORN") event.target.textColor = color.red;else event.target.textColor = color.black;However i am not having much luck copying this script to all the text fields on the document (over 200 fields).I have tried the solution outlined in this thread: faster way to copy a validation java script into multiple fields, i have set a Document JavaScript called validateField, i have then put the following script into it:function validateField(){function if (event.value=="WORN") event.target.textColor = color.red;else event.target.textColor = color.black;}But when i run the JavaScript console it just adds validateField() into the Text Fields custom vali
In the older Acrobat Pro I could just select combine comments, in the new version I can't find that option. Thanks
We would like to convert pdf to docx / pdf to html using adobe acrobat via API.Is there any API support for the same?We would like to subscribe and integrate, if any.
I have a flat PDF (no Acroform fields). Just a flat PDF. Is it possible, via the API, to get a list of possible input fields? (Text fields, check boxes, etc.) This is what I want, only delivered via an API call (see link->): Automatic Field Detection in Authoring If the Adobe SDK does not do this, does anyone know of any API that does something like this?
I have an Adobe Acrobat DC form that looks through fields and sees if the user entered an IP address. If they did it throws an alert and tells the user where to find it. I'm having two problems: 1. When I run the function it seems to only work every other time. 2. I am attempting to use the replace function to mask the IP address but it is not working. It appears that the usrText in usrText.replace, line 29 returns, 'Undefined'.function IPAddress(lct){var ipRegExp = /\b(?:(?:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\.){3}(?:(?:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))\b/ig; //RegExp to find IP Address'svar usrInput = this.getField(lct).value; //Get name of field set to run functionvar setClass = this.getField("Classification"); //Get current classificationvar arrayText = usrInput.split(" "); //Split the text into an array to find the IP Addressvar findIp = usrInput.replace(ipRegExp, "X|X|X|X|"); /
Hi There!I have a general understanding of Acrobat, but have not used the form tools very much.In a nutshell, I am creating an order form where the customer chooses their item from a drop down and in the next field they enter the quantity. I am wanting to have a totaling feature added to the bottom of the form to calculate the total quantity ordered for each item in the drop down list.Is this possible?Thanks in advance!
Hi All,Bit of a noob when it comes to JavaScript so any help for dummies would be greatly appreciated.I'm trying to configure my email submit button on a form.Current Script I have is:this.submitForm({cURL: "mailto:email1@hotmail.com?&cc=email2@hotmail.com;email3@hotmail.com;email4@hotmail.com;email5@hotmail.com&subject=TEST", cSubmitAs: "PDF"});I have to be able to add form fields (hospital & commencement are the field names) into the subject and also potentially the Body as well as some hardcoded text.Is there an easy was to configure this using that script?Thanks,Chris
I am not sure if this is doable or not, thinking about this the wrong way or i am just completely missing something. I normally like to try to figure out where i went wrong but this has gotten me stuck.I am trying to take the standard trim bookmark name function and make is user changeable to select what part of the bookmark is being changed via a popup question. I set up folder level. When i try to run in Adobe Pro 9.0 i receive "An internal error occurred" message. In console i receive "redeclaration of const TrimBookmark2:Console:Exec". Any help would be appreciatedfunction TrimBookmark(){ var Title = new String(bkm.name); bkm.name = cResponse; // bkm.name = Title.substr(0, NumChars); // bkm.name = Title.substr(-NumChars,NumChars); // bkm.name = Title.slice(NumChars,Title.length); // bkm.name = Title.slice(0,-NumChars); if (bkm.children != null)&
I have a box labeled HST and another for Subtotal.I want to perform a simple math calculation on the HST box, the result displaying in the Subtotal box.I want the user to be able to overwrite the Subtotal Box. This Subtotal box is included in the TOTAL Box calculation which is not to be overwritten.Thanks!
I am attempting to create a form for our seedling tree order form, and am running into a little trouble with calculating the proper total, as our taxation rates vary depending upon the method of shipment being used. I believe my end result can be created with a little help from a custom calculation script, but I have no experience with java script, and am hopeful that someone can give me an assist here.Already set up, I have:Two radio buttons used to indicate the method of distribution desired -Local Pick Up -UPS ShippingI have two hidden fields, in which calculations are run to figure the two tax values, one of which should be applied. (LocTax) and (UPSTax) I have fields to calculate the total cost for shipping (Ship Tot), for the sub total of items ordered (Item Tot), a placeholder for the tax rate (Tax Tot), and a Final Order Total (Order Tot) field, in which the sub total, shipping costs, and tax rate are added, and the final total displayed.My problem is with this last secti
Hello!Is it possible with a JavaScript code/Action to auto-populate fields in a fillable PDF with data from two different PDF files?More specifically, I am looking for a way to automate the process of filling out a W-2C tax form with data from two sets of W-2 forms. The first PDF file of W-2 forms contain the data for the "Previously Reported" column in the W-2C form and the second PDF file of W-2 forms contain the figures for the "Correct information" column of the same W-2C form. Each PDF file of W-2 forms can contain from 1 W-2 form to 150 W-2 forms.I've been able to automate the separation of the W-2C form with an action I created in Acrobat, but I was wondering if we could automate the process of filling out the W-2C's entirely. All the data I need is consistently provided in two PDF files. For example, the before.pdf and the after.pdf. What we do now is copy and paste all the values into the W-2C form and with 100 plus W-2C's that need to be done, it can take up a lot time.I am l
I am developing a new application and i am using the AcroPDF.dll active X control. On Windows 7 on my development machine the control works wonderfully. However when I deploy to Windows 10 the control is just blank. There are no errors or anything it is just blank. Adobe Reader is installed on both computers. Any assistance is appreciated. Thanks, Robert
Hi everybody!First of all thanks to you guys for your help!This place this so helpful and friendly for everyone. awesome Now to my todays problem I have to solve.Ive made an reset button which resets just some fields with the following javascript for every field:this.getField("***").value = this.getField("***").defaultValue;Now I have the problem that I have a checkbox which shows hidden radio buttons by activation.My problem is now that the Javascript above is also deleting the hiding property of the radio buttons.So What can I do to hide my radio-buttons again, do anyone have an idea? Tanks in advance and sorry again for my bad English
Hi everybody!I have the following problem and I hope that someone can help me.I have a three radio-button choice on my PDF-form (R1; R2; R3) and the third one should visible or hide back an drop-down list.So the code I made is making my drop-down visible, but when I´m choosing R1 or R2 after my R3 choice its not making my drop-down invisible again.Can anyone see my mistake and help me?Thank you in advance and sorry for my bad English if (event.target.value != "Off") {// box is checkedthis.getField("List").display = display.visible ;} else {// box is uncheckedthis.getField("List").display = display.hidden ;}
Adobe has a functionality to launch a javascript on launch of Adobe, by dropping a .js file in the following folder:C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts\I have a document javascript (e.g. scroll to a specific page), which I would like to apply to every PDF I open.If I add my document specific javascript as a file in the above folder, it doesn't work, because I reference javascript functions which are only available while an active document is opened. I tried creating a loop to wait for an active document to be opened, but this makes Adobe freeze, even if I open Adobe by double clicking on a document (and thus opening an active document)?Any advice on how I could tickle this?
I need to have the "Group name" auto populate based on the selections made from the previous 5 dropdown selections. If it stays on "Select one" I need it to not auto populate. Parent site, Subsite 1, and Type will always have a selection made while it is possible no selection is needed for Subsite 2 or 3. Also each selection ends in "-". If the user selects the wrong dropdown choice and changes it, will the group name field detect the change and auto correct? I am using Adobe Acrobat Pro 2017. My limited knowledge of JavaScript is based on this forum. I can usually find what I need searching from previous comments. Thank you for any help you can provide.
I wanna create a PDF form that has conditional Dropdown list. For example, dropdown list has values: X, Y & Z. If the user chooses “X” he will see a list of checklist different than when he chooses “Y” or “Z”.. so is this possible to do this using adobe pro DC with javascrips ??. thanks..
I wrote a working script to compare every word in a document to a list of words I want to flag. It works but is incredibly slow. I know that Acrobat has an indexing feature. Maybe I can tap into that?I've been playing with search.query, but it doesn't look like it actually returns anything. Please don't tell me to look in the manual :-)... it isn't described there much.My loop is: for (var i = 0; i < currentDoc.numPages; i++ ) {... for (var j = 0; j < currentDoc.getPageNumWords(i); j++) { .... for (var n = 0; n < wordItem.length; n++) // my list of terms I want to look for { If found, com
Hi there.I was creating a plugin for signature validating. The problem is that signature uses third party digest algorithm "GOST34311". I think Adobe simply does not recognize such algorithm. I tried to catch the exception in this function:void DSEngine::sigValidate( PSSigValidateParams params );but it doesn't even get there, exception is thrown before.So, how can I get algorithm name and handle any custom digest algorithm? Please, give some approach. Thanks in advance!
Can I Install Acrobat DC on Multiple PC's? If not, can I pay extra to install on additional PC's? For instance, I have 2 computers at work and 1 at home that all need to have full Acrobat abilities, how can that be done?
Hello,I'm attempting to create a button in acrobat that will also work within reader dc.I want to be able to click a button and it selects the pen/pencil tool.I seem to be able to get it to work in acrobat 9, but it doesn't follow across to Reader.Is there document javascript I could include to make this work?Is there also any scripting I could use to set the colour of the pencil?
I have a two page pdf form where the user puts a tick in the appropriate box. At the bottom of the form, the ticks in each column are added up. This sub-total (sub-total_1) is then multiplied by a specific number (column 1 is by 1, column 2 is by 2, column 3 is by 3 and column 4 is by 4) to give sub-total_2. Both sub-totals 1 and 2 are then added to give a final total for each column. All four column totals are then added to give a final figure. All of this works.Based on the final total, I would like the form to automatically write:Low if the total is between 0 and 20;Moderate if the total is between 21 and 33;High if the total is between 34 and 46;Extreme if the total is 47 or more.Is this possible and, if so, how do I do that?I'm using Adobe Acrobat Pro DC, 2015
We have PDF files that are generated using PHP to send to a printing company. The printing company want us to add Bounding Boxes in these PDFs but with the technologies we're using, there's no way to add them without having the box visible on print paper. Also, since the number of PDFs generated are dynamic, it'll take a lot of work for them to add the Bounding Boxes manually.I'm new to Adobe Acrobat SDK, does anyone know if there's a way to achieve the following tasks:1. Loop through each existing PDFs2. Add / Identify the Bounding Box3. Save file with newly added Bounding Box4. Move to the next PDFThe PDFs each have 2 pages, each page is 336.35mm x 226.35 (with 3.175 mm Bleeds - 6.35mm total), Finished size is 330mm x 220mm. Also, assuming if the bounding box is successfully added, will it be visible in printing paper?Thank you.
Dear All,I use Python to call Acrobat JavaScript to convert PDF to EXCEL. The code is like following: aApp = win32.Dispatch('AcroExch.App') pdDoc = win32.Dispatch('AcroExch.PDDoc') if pdDoc.Open(r + "\\" + e): jsObject = pdDoc.GetJSObject() jsObject.SaveAs(des + "\\" + e + ".xlsx", "com.adobe.acrobat.xlsx") jsObject = None pdDoc.Close() pdDoc = None aApp.Exit() aApp = None I have converted 6000+ PDF successfull
I have three radio groups rg1, rg2 and rg3 with 6 option in each. I can calculate the sum of the three selection in each radio group easily. But I also need a text field calculation the number of radio groups checked. So if two of the radio groups are answered the text field should show 2. Is it done with a simple java script? And what would it look like?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.