Questions
Recently active
Hi would really appreciate advice and expertise on a task I will like to do described below but given that I have very little expertise in Javascript but have Acrobat Pro DC, I am stuck.I have a report that contains multiple reports in a single pdf which I want to split it into individual reports. The cover page of each report has a report number XPD Report - nnn. I want to be able to search for a specific string ("XPD Report") within the pdf, and then save the sequence of numbers that come after that string for my file name ("001","002"...). I would want to extract the cover page and the succeeding pages of the XPD report and include it into one pdf until it finds another unique XPD Report. For example,page 1 XPD Report - 001page 2 page 3 XPD Report - 002page 4 page 5 XPD Report - 003page 6 page 7Using this example, pages 1 and 2 would be extracted into one pdf together. Page 3
They are a main point in forms & applications. I was amazed that I could not find a menu of characters. Heck, I do in Microsoft word!How Pro is Acrobat Pro?[Moved from the general, non-support forum Lounge to a product-specific support forum - Mod]
I have multiple checkboxes that when checked populate a comment box as they should. However, if there are comments already in the box it erases them. Any suggestions on how I keep that from happening? Thanks!
i Have a javascript that can turn the layers i want on. but what i would love to include is script that will turn some other layers off once the layer is toggled on. Here is what i have so far.var docOCGs = this.getOCGs();for (var x=0; x < docOCGs.length; x++){ if(docOCGs.name == "Cadent Trace" || docOCGs.name == "Cadent Trace") { docOCGs.state = !docOCGs.state; }}I am very new to java and am learning the basics at the moment so any help will be much appreciated!thanks, Max
Hi, I like to create an pdf form with acrobat. for this i have a table with different fields. depending on the value entered in p.e field "A" the text of field "A". "textA" an "textB" should colored red, etc. (like in the table below)Headline 1Headline 2Headline 3AtextAtextB1text1text2ItextItextIII have been using the forums to help me answer the question above and I have managed to create the code below, but it's not workingif (event.value=="a") { event.target.textColor = color.red; this.getField("textA").textColor = red; this.getField("textB").textColor = red; }else if (event.value=="b") { event.target.textColor = color.red; { this.getField("textA").textColor = red; this.getField("textB").textColor = red; }else if (event.value>="0") { event.target.textColor = color.blue; { this.getField("textA").textColor = blue; &n
Can we configure a certificate to adobe reader for signing purpose programatically ? (perhaps using Windows batch file, shell-script or official library available from adobe)The certificate needs to be configured (within Adobe Reader) with the "use of signing" usage option.
Can someone tell me if I can modify this code or if I need to use a different one? I'm using this script to formulate different text fields into one text field. It works fine but I'd like to format the text a bit. I'm using Centered (but that doesn't have anything to do with anything). I'd like to be able to double or even triple space in the destination field. When I hit the Return key the text moves down but as soon as I click outside the field the text jumps back up and doesn't allow me to format the lines of text as I would like. Or to even type in additional text into the field. What I did to get around that, is I created an additional text field that I can type into it (see my example script Text31). Here's the script:event.value = this.getField("blank").value + " \n" + this.getField("WeInstall").value +"" + this.getField("TotAllFootage").value +"" + this.getField("Of").value + this.ge
My software makes hundreds of bookmarks in a hierarchy. We want to open the bookmarks bar in a collapsed state showing only the first level bookmarks. Is there a js - app.execMenuItem type command or any other to do this?
Hi all. I'll try to keep it as short as possible.Part1Have a form, where Submit button executes JS for two things:1. ensuring one required CB is ticked before submitting2. extracting email(s) associated to CBs, where each CB export value is an email address, and all CBs have the same nameSubmit button >Mouse Up event > Run JSvar fields2 = ["Check Box1.0"]; var addresses2 = []; for (var i in fields2) { var v = this.getField(fields2).valueAsString; if (v!="Off") addresses2.push(v); } if (addresses2.length<1) app.alert("Select one Check Box.",1);else{var fields = ["email1", " email2", " email3", " email4", " email5", " email6", " email7"]; var addresses = []; for (var i in fields) { var v = this.getField(fields).valueAsString; &nbs
Hello,I'm not a coder and I don't know JS, but I already put some JS in my form to set the date automatically to the date of the day. I'm sure there is a way to set a button to perform the action of using the email address in a textfield of a form and then send a copy of the filled form (flattened would be perfect) to this specific email address.The usual way I'm using, many micro actions, is to click on the textfield, select all, copy, share/open with, share a copy, select Gmail as mail app, paste the email from the textfield in the recipient and send. There is 8 actions, always the same.Could this be performed in one single button with JS, compatible on iPad and/or android Acrobat Reader application ? Thank you !
Hi!I need to add leading symbol * in a numeric field.Numeric field length is 10. If enter 15000,the result will be *****15,000.Please help me out. Thanks!
Who can give me a simply example for using js script to realize create annotation in 3D object in acrobat file? Thank you !
Please provide any insights to the following question. In trying to sign and date a w-9 I get the following message. "This form cannot be edited in Adobe Acrobat DC. Please use Adobe Lifecycle Designer." How do I get this document dated and signed without buying Lifecycle Designer?Thanks,Rick
I'm working on a RPG character sheet..I'm trying to calculate a characters total armor class..I have all the fields set up and labeled..The total AC bonus = 10 + DEX mod+ proficiency bonus +item bonus..I have a field that already calculates and generates the "DEX Modifier" field.The problem is, if you wear a suit of armor it allows you to add your Dex modifier to the ac totalBUT only upto the armors max..Let's say you wear leather, it allows you to use only +4 max bonus.So if I have a Dex mod of say +5 it needs to only add the +4 ..My fields in question is "Dex modifier","Ac Dex modifier", " ac Dex modifier max"I've tried var A = this.getField("DEX Modifier").value;var B = this.getField("ac Dex mod max").value;If (A>B) {event.value = B}So if ac Dex mod = Dex mod,But if the Dex mod is greater than the ac Dex mod max, the Dex mod @= ac Dex mod maxAny help is greatly appriciated
Hi everyone, I have a PDF form that I've created for my team to help make creating contracts easier. Essentially what it does is it has a bunch of form fields on page 1 that fill in all the appropriate information on all the other pages. I've then created buttons that print just the pages we need, which vary for different people. This system works great for printing, but I'm trying to come up with a better solution for saving. Here's what I want:On a button press, a certain set of pages should be extracted from the PDF, flattened, and then a Save As prompt should appear. But I haven't been able to figure out how to apply scripts to the extracted pages, instead of the original. For example, if I use this code:this.extractPages(1,3);this.flattenPages();app.execMenuItem("SaveAs");then the pages are extracted correctly, but the original PDF is then flattened and saved, not the new extracted PDF. This is what I've been doing as a workaround:this.deletePages({nStart: 4, nEnd: 7});this.delete
Trying to select a file and get the ASPathName of the file. There was a sample in PDF Binder to do so but it only allow you to choose folder instead of a file with AVAppChooseFolderDialog method.
I am trying to convert an Excel expression/formcalc script that essentially divides the totals of two fields provided on a PDF form. One field may include a total entered on a another page. The formcalc script I am currently using works, and is listed below. Is there any chance someone might be able to help me with converting to javascript? Thanks so much!if(Page1.Total_undupl ne 0 & HasValue(Page1.Total_undupl)) thenTotal_al_instr / Page1.Total_unduplelse nullendif
I have 36 Adobe documents with roughly 2500 pages in each one of them. I need to export the pages out of each one of those documents based on a list of identifiers I have in an excel sheet that would show up on the pages in the pdf. Please help
I'm having some issues with this script. I've used it successfully, but slightly different than this version. I have confirmed each checkbox has a export value, but I can't get it to display the checkboxs' export value within the text field I have it assigned to.I'm using this in the "custom calculation" section:var ybl = this.getField("Length.Youth").value ;var abl = this.getField("Length.Adult").value ;if(ybl <= 31) { event.value = (ybl.value) ;}if(abl >= 32) { event.value = (abl.value) ;}
Hello,I am trying to create an employee evaluation form. I'd like the calculated field to be the sum of the check boxes then divided by the total number of categories (6). Eachcheck box has the appropriate export value according to the rating (1, 2, 3, 4, 5).So if an employee was rated all 5s across the 6 categories they would average out at a 5. (5 rating x 6 categories / 6 categories). Any help on how to accomplish this would be appreciated. Thanks in advance!
Believe or not but I couldn't find the answer. I have two fields. Field1 and Field2. Field1 calculates. If and when Field1 is populated then I would like to show and populate Field2 with a phrase, not the total from Field1. Then if Field1 is not populated then to hide and reset Field2. Can someone help me solve this? Thank you all.
I currently have an 8 page PDF form and at the end of the document I would like to have a button that would export / save, as one long PDF page. Is this a possible?
I have a submit button on the form I'm creating. 1) After researching various examples, I have the following JS set up:var emptyFields = [];for (var i=0; i<this.numFields; i++) { var f= this.getField(this.getNthFieldName(i)); if (f.type!="button" && f.required ) { if (f.valueAsString==f.defaultValue) emptyFields.push(f.name); }}if (emptyFields.length>0) { app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));}It seems to be working but it still allows the document to be sent by email after clicking OK on the warning window. Any ideas on how to fix that? Ideally, I would like the user to be returned to the form to finish completing the document.2) Is there a way to send the form in a read only format without changing it for the user? I'm noticing in my tests that when I have t
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.