Questions
Recently active
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?
I have a payroll claim form in which I need a warning message to appear if the claim date is more than 62 days prior to the current date. The forums and links have been very useful to get me to a point where my script works in a test form with just 3 fields - the claim date, claim value and warning message. The warning message is in a text field with the property set to hidden by default (and I have a document level script to reset its display property on closing). The issue I have is that the script doesn't seem to work consistently now I have placed it into the working form. Essentially if the claim date is entered that is less than 62 days old then the message remains hidden but it also doesn't then appear if a date is entered that is more than 62 days old. If that old date is then deleted from the field on hitting enter the warning message is revealed. If a further date is entered that is less than 62 days old the message will be hidden again. The script I am running is below. Thes
Good morning, I am have set up a form containing two columns of text boxes (20 boxes in each column). I have made an additional box at the bottom of each column for calculations where-in lies my problem. I have set the text boxes to automatically put an X in each box by clicking on it, however I need to be able to assign a point value of 5 to each X in the first column and have it populate a score in the box at the bottom of the second column. I would like the bottom box in the first column to calculate the total number of X's in the second column. I have attached a section of the form to help explain what I'm trying to do. I am very new to Adobe Acrobat and have little to no knowledge other than just playing around to figure things out, however this is eluding me. Any help would be greatly appreciated.
Hi, I am new to Adobe. I was wondering how to have a drop down menu when a selection was made, based on what you selected when you hit submit it would go to a different person. I am using Acrobat DC.example:I choose option 1 it goes to email 1I choose option 2 it goes to email 2
Im trying to make it so when you place a number between 1-20 the value for dnd is place in the box above.DND values: 0,1 = -52,3 = -44,5 = -36,7 = -28,9 = -110,11 = 012,13 = +114,15 = +216,17 = +318,19 = +420 = +5I have a if statement already made but i copied if from a different website and just modified to what i need. I'm not sure how to make x the str field and the print out to STRmod field. Thank you for your helppublic class Test { public static void main(String args[]) { int x = 0; if( x == 0 ) { System.out.print(-5); }else if( x == 1 ) { System.out.print(-5); }else if( x == 2 ) { System.out.print(-4); }else if( x == 3 ) { System.out.print(-4);  
Hi,I am creating form in Acrobat Pro to allows users to insert images via the Image Field function. Once an image is inserted, a text field below is required to be filled in.I have created a javascript code for a similar scenario involving checkboxes. However, I have been unable to locate the correct terminology to reference the Image Field. Below is the Javascript code for the checkbox scenario.event.target.buttonImportIcon();var showHide = event.target.isBoxChecked(0)?display.visible:display.hidden;this.getField("Photo1_Caption").display = showHide;if(event.target.value == "Yes") {// console.println("Checked " + event.value);this.getField("Photo1_Caption").required = true;}else {// console.println("Not " + event.value);this.getField("Photo1_Caption").required = false;}Using the above code as a guide, is it possible for some assistance to achieve the following end outcome please:If image is inserted into Image Field, the text field is made visible and requiredIf no image is inserted i
Have been producing print brochures 2 up with covers for many years but with so many devices browsers and viewers available it is becoming a nightmare. In the past i could force the pdfs to download from a website and hopefully it would be views in acrobat reader as would most email attachment but with the proliferation of readers browsers and devices that can handle pdfs. Using Acrobat specific views are becoming problematic.Problem is there are so many advantages to 2 up with covers view like the ability to print pages duplex etc which clients seem to like but they complain that their clients are viewing the pdf in single page view. Currently I am solving this issue
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.