Unlock the power of Acrobat SDK through our community.
Récent
Ok guys and gals. I'm going nuts here. I have been doing a lot of research on a dynamic drop down list for adobe acrobat pro XI. I've seen a few things but nothing is working. Here is what I am trying to do. I have two drop down boxes in a form titled "Status" and "Rank." I want Status to have two labels to chose from; NCO and OFFICER. In the "Rank" field I want the list of either all of the NCO or Officer ranks to appear for selection based upon which option is chosen in the field "Status." I tried this script which has gotten me the closest but only displays the data in the "Rank" field for NCO when NCO is the first item in the list in the "Status" field and the data that does appear in the "Rank" field does not display as drop down options. Rather, it displays as a line of text with commas. If I chose the Officer item as the 2nd item in the list, I get no change in the "Rank" field. It stays populated with the original NCO
How do I decrease the white space leading in the tag tree? With the August 2017 automatic update to Adobe Acrobat Pro DC Version 17.012.20095.42964, the tag tree suddenly got expanded using a lot of white space leading. This negatively impacts me because now I can only view about 27 lines of tags. Last month, I could see about 50. This means I now need to spend a lot more time scrolling up and down in order to see tags. This is not acceptable. Whoever thought this was a good idea was wrong. It's a bad idea. I'm a production person in Acrobat. I can't waste all this time. When I telephoned Adobe, the heavily-accented girl told me there was no way. And, she told me there is no way to go back to the previous version. Help!!! Please. Someone. Hello? Thanks [sniff sniff]
Hallo ZusammenIch möchte gerne einen benutzerdefinierte Stempel erstellen. Dieser soll auch dynamische Funktionen enthalten wie Datumsangabe und Wochentag.Wie mache ich das?Danke für die Hilfe
I have pdf document that has a javascript set to allow date to appear when document is printed but hidden when viewing.ASK: I want to have the words PRINTED ON: appear before the date. I created a text field and named it TODAY. Selected HIDDEN BUT PRINTABLE in properties.Then chose: Javascript, document actions, Select document will print, edit, them the following script.this.getField("TODAY").value = util.printd("mm/dd/yyyy", new Date());[Email address removed by Moderator]
I am at a loss as to how to interpret this error. I'll try and lay this out as simply as possible.I am working on a paperwork package for the selling of multiple vehicles. Some line items are divided evenly amongst the number of vehicles sold. If it is not possible to divide the item evenly, I have written a document-level function which calculates the offset in cents:function remainderCatch(TotalField,PerField){var PerRounded = round(PerField,2);var Count = this.getField("SOLD_COUNT").value;var Offset = PerRounded * Count;var RemainderRaw = Offset - TotalField;if (RemainderRaw == 0) { event.value = PerRounded} else { event.value = (TotalField - ((Count-1) * PerField))}}FYI: The "round" function is a separate document-level function which rounds to the nearest decimal place of your choosing, the hundredths place in this example).I have 5 fields which call this function, all under Vehicle #1 (so that only the first vehicle's numbers are adjusted). For this
Hi,I'm struggling with this; hopefully someone can help.I'm creating a PDF that has some questions that are radio buttons with numeric values on each one. I'm wanting the sum of those selected to show a particular button - the result.I've done something similar in the past, however that just populates a field with predefined text and colours the box - in this instance I'm wanting to show/hide a button as I was hoping to do a graphical answer as opposed to just words.Here's the script I'd use previously:var nResult = this.getField(“XXXXXX”).value;if ( nResult > 14 ) { event.value = “XXXXXXX”; event.target.textColor = ["RGB", 1, 1, 1]; event.target.fillColor = ["RGB", 0, 0.454902, 0.482353];}else if( nResult > 7 ) { event.value = “XXXXXXX”; event.target.textColor = ["RGB", 0.113725, 0.113725, 0.105882]; event.target.fillColor = ["RGB", 1, 0.780392, 0.345098];}else { event.value = “XXXXXXXXX”; event.target.textColor = ["RGB", 0.113725, 0.113725, 0.105882]; event.target.fillColor = [
I have designed a pdf form to be used as a questionnaire however it is extremely long and comprehensive and it is not always necessary for a user to fill in the complete document. On the first page of the document I have a list of the different sections of the questionnaire and then if the user checks the checkbox of the sections, then only the pages of the document of those sections gets displayed and the ones that don't get selected, the relevant pages stay hidden. From what I have read, I will need to convert the pages to a template (Which I have figured out that I do under the organize pages tool) and then under the checkbox properties I will need to run a javascript under the actions tab to show or hide the relevant pages. My problem is I have no idea how to write javascripts. Does anyone have a line of code that I could copy into my document and substitute the page numbers (or whatever the case may be) which would give me the desired action on the document? I can't imagine that i
Hello gurus,Description:A) I have 8 fields: "start1", "start2"...."start8", each of which has a start date in this format "dd/mm/yyyy". Let's call these fields 'starting dates'. The starting dates are normally always on a Monday. These starting dates represent the date a program begins.B) I also have a field called "weeks 1", "weeks 2"..."weeks 8". This field is automatically populated and contains numerical variables corresponding to each of these starting dates, and lists the number of "business/school weeks forward" for each of these starting dates (in other words, the duration of the program). Each "week" represents a full business/school week, so "Mon-Fri" is one week. For Instance, "16 weeks" means "sixteen Mon-Fri cycles" mapped over the normal calendar days. The number of weeks varies significantly and is independent. In other words, for field "start1", I have a corresponding numerical field called "weeks 1" that may list "16" weeks. The same goes for all other starting dates,
I added some javascript that worked yesterday but now it is not working. When the oh.value is a certain number checkboxes are checked.var oat = this.getField("OrderAmtTotals");var oa3 = this.getField("OrderAmt3");var oa4 = this.getField("OrderAmt4");var hr = this.getField("HostRetailTotal");var oh = this.getField("OrderPlusHostRetail");if ((oa4.value !=null) || (oa3.value !=null && hr.value !=null)){if (oh.value < 150.00){event.value = 0;getField("HalfPrice1").checkThisBox(0,false);getField("HalfPrice2").checkThisBox(0,false);getField("HalfPrice3").checkThisBox(0,false);getField("HalfPrice4").checkThisBox(0,false);getField("HalfPrice5").checkThisBox(0,false);}else if (oh.value > 149.99 && oh.value < 300){event.value = oh.value * .10;getField("HalfPrice1").checkThisBox(0,true);getField("HalfPrice2").checkThisBox(0,true);getField("HalfPrice3").checkThisBox(0,false);getField("HalfPrice4").checkThisBox(0,false);getField("HalfPrice5").checkThisBox(0,false);}else if
Hi,I'm trying to create a loop that effectively goes through a folder containing multiple pdf documents. This script is essentially meant to open and extract specific data from each pdf and export it to a single .txt file. The data export script has already been written, but I am having issues with setting up my loop to work through the folder.This is the general layout of the loop I am currently working with:while (***FOLDER HAS NEXT FILE***){ var thisFile = ***SAVE FILE NAME AS STRING VARIABLE*** app.openDoc(thisFile); (insert data extraction and export script)}If this initial approach is ineffective, or if there is a more efficient alternative, please share! Thank you!
I created an if statement with OR but it doesn't seem to be working. Here is my javascriptif ((oa4.value > 0) || (oa3.value > 0 && hr.value > 0)){then do what's next...I have order amount lines and lines 1-4 are filled in then other things can happen. Also if line 1-3 are filled in with values and another total value is not null then that counts too.
(the signature is in WMF format)Need to print a PDF and either merge or append with a signature file(the signature is in WMF format). This needs to be an automatic process because I need to repeat it many times
Is there a javascript that can access "use local fonts" in the Preference window? I want the user to uncheck that option so all the fonts I used in the creation of the form will be used. At this point I just don't want any pop out windows saying, "Helevetica Bold cannot be used" (something like that). I'm trying to figure this out. I thought, all the fonts I selected to use in the form creation would be available. The only thing I can think of is to uncheck the "use local font" option. Any other suggestions out there?
Many users have non-Adobe default pdf readers installed on their computers. Even though I provide explicit instruction about installing the latest Adobe Reader, and that it is required to open and operate our forms, the users default pdf reader is still set to open it even after they install the Adobe Reader program. I include in the instructions how to open the form with the reader too.Sometimes the user does not read the instructions carefully and do not realize that our form is being opened on their computer by their default pdf program. They would then complete the entire form only to realize by the end that it will not work properly.Also, JavaScript can't be used with most other pdf viewers... is there some way to detect that Adobe Reader is not being used to open the form and warn the user up front not to proceed?
Hello Guys,Please get a few mins to read all.I am creating a pdf version of loan and mortgage calculator originally created in excel. This calculator spans more than 1600 rows across 12 columns and out of which 1560 rows are used only for payment/amortization schedule. This part is actually causing problems. Excel sheet is having multi-level nested(to excel's limit) if else largely and some other simple calculations e.g PMT, MOD. I have converted all excel formulas in livecycle javascript and are working fine but the pdf form calculation speed is far from that of excel. Even if we use the short term for loan e.g 3 or 4 years it take time while excel sheet is designed to calculated till 1560 total number of payments and takes no time to calculate all data.I used repeatable subform feature and depending on the total number of payments rows are generated during runtime. I used this to keep document length optimum and escape from calculating unnecessary rows that are not required when loan
JavaScript slently print HELPTranslate googleI have 2 printers, print PDF file size is 430mm * 310mm, and need to be marked with 0001-00100 each number, you can manually double-sided printing on the 450mm * 320mm, but I and JavaScript silently print, only print Double sided A4 size paper. Plus "pp.flags | = fv.setPageSize;" can print out the A3 size red, but not the first time to print the parameters to print correctly. That is, the last print setting parameter is not recorded when silently printing.The code is as follows:var l= 4; var s = 5; var p=0;for(var i = 1; i <= s;i++) { this.getField("Text1").value=pad(i,l); this.print({bUI: false, bSilent: false, bShrinkToFit: false}); }function pad(num, n) { var len = num.toString().l
Dear Adobe, please include PDF-preflight in your Acrobat for iOS versions!!!! That would be extremely helpful and an overdue addition to your staggering development of prepress functionality! Remember your roots. Thanks, Tim
Hello, I have been struggling with this for a while and can't find my exact situation out there.How can I hide 2 text fields and 2 checkbox fields based on a particular date range?I have a form that includes a date field, after a certain date I don't want the fields to be available so I would like to hide those fields. I tried the following, but I don't think I have the date syntax right. What am I doing wrong?if(this.getField("Date").value >= "9/21/17"){ this.getField("Text3").display = display.hidden;}else{this.getField("Text3").display = display.visible;}Thank you so much in advance!
I recently learned of the Javascript Console in Acrobat, and am having a lot of trouble figuring out what the error messages mean. I am getting 2 in particular that confuse me.First, no matter what field value I change I get several errors saying:TypeError: this.getField(...) is null1:Field:CalculateHow am I supposed to know what field is being referenced? Shouldn't there be a field name instead of "(...)"? I have over 100 calculated fields, so not knowing where this error is coming from makes my life way more difficult.Separate question for clarification... say fields A + B = C. After entering a number into "A", will I get that error code if nothing has yet been entered into "B"?The other error I get...InvalidSetError: Set not possible, invalid or unknown.Event.value:7:Field PAYOFF.0:CalculateFor the life of me I can't find any explanation on what these error messages could mean. Is there some sort of reference manual I'm missing?Any help would be awesome before I pull my hair out! Th
How can we tell what the dpi is for a pdf document? Using adobe acrobat X Pro?
Hi,I have some code I created in Word VBA to combine several separate PDFs into a single PDF. The code works fine with the Adobe Acrobat 9.0 Type Library and Adobe Reader 9.0 installed.But, with the Adobe Acrobat 10 Type Library and Adobe Reader 10 installed, the code fails at the marked code below. Any suggestions?? Dim acrobatApp As Acrobat.acroApp Set acrobatApp = CreateObject("AcroExch.App") Dim mainPDF As Acrobat.AcroPDDoc Set mainPDF = CreateObject("AcroExch.PDDoc") ****THIS IS WHERE THE CODE STOPS WITH A "TYPE MISMATCH" ERROR**** Dim nextPage As Acrobat.AcroPDDoc Set nextPage = CreateObject("AcroExch.PDDoc") Dim numPages As Integer 'Loop through all selected VLS, and add each one to the end of the main PDF For i = 0 To lst
Hello!I have 5000 + PDFs and I need to make the text size "Auto" for two specific fields in many PDFs and to save them without a prompt. I can't find the solution anywhere. I use Adobe Acrobat DC and the files I need to edit are stored locally. Here's what I have tried. Can someone edit my script? It is not resizing the fields and I am being prompted to save each one rather than the "Save" function happening automatically. Here are samples of what I tried that don't work. This gives you a clue as to how amateur I am :-):var f = this.getField("HHMember9-Ethnicity-5")f.readonly = falsef.textSize = Autof.readonly = truevar f = this.getField("HHMember8-Ethnicity-5")f.readonly = falsef.charLimit= 3;f.textSize = Auto.sizef.readonly = trueI wonder if the character limit is overriding the text size, or if I am just using the wrong
I am able to get the Image Path in adobe acrobat pro. I am able to upload image with below code. But not getting image path of the same uploaded. var f = this.addField(fieldName, "button", p, r); f.setAction("MouseUp", "event.target.buttonImportIcon();");
I have an interesting question. I have an excel sheet that generates a pretty complicated JS script for Acrobat based on a bunch of user inputs in the spreadsheet. I wrote an excel VBA macro that takes this script, opens the desired PDF, opens the JS console, and pastes the code generated code in the console. However, I can't figure out how to actually run this code once it's in the console. Any ideas? Is it possible to make my VB excel macro force Acrobat to execute a JS?So far this is what I have. My code is in column 1, anywhere from 10-500 lines long which is why I did the If statement in the loop to remove blank cells. How do I make the console execute the code?Sub Open_Acrobat()Dim OpenDoc As StringDim gApp As AcroAppDim gPDDoc As Acrobat.AcroPDDocDim jso As Object OpenDoc = Application.WorksheetFunction.Concat(Cells(2, 3).Value, "\", Cells(2, 2).Value, ".pdf") 'This line generates the filepath of the doc to open Set gApp = CreateObject("AcroExch.App") Set gPDDoc = CreateObject("
I am using Adobe Acrobat DC (OEM install on Dell latitude E7470) with Office 2016. Whenever I right click to create PDF with PDF Maker, I get the error message:"An unexpected error occurred. PDFMaker was unable to produce the Adobe PDF"My Office and Adobe are up to date. I have uninstalled and reinstalled both, and I have run acrofix and a repair on Office. I can confirm that Save as PDF, Printer to PDF, and the Acrobat Tool bar for office are all working. I have spent hours trouble shooting this.If this is just a bug with 2016 I need to know so I can stop wasting my time. Anybody have any ideas?Thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.