Unlock the power of Acrobat SDK through our community.
Récent
I'm trying to find a way to populate a form field by pulling data from an excel file that gets frequently updated. This will be used for a tracking number that will be incremented when new products are released so anyone can know what number to use by just opening the PDF form.For example, the excel file will have the number "1278" as the last number in Column B, so when the PDF is opened the field will have the number "1278." Whenever someone adds to the excel file and opens a new PDF, the last number will be filled in for them.Is this even possible? I heard you can do it with exporting the excel file but I don't want that to be necessary every time it is used.Thanks so much!
I have Adobe Pro and want to upload document to send vie email for digital signature. I also have a Echosign/Esign account. When I try to connect to Esign directly from Adobe Pro and upload my document I get the following message: "Your Session has time out. Please close the window and try again." I have closed it several times and tried but always gives me this message. How do fix this?
Dear friends,I need to resize/scale the button icon Image to dimensions which are lesser in size than button dimensions.Let say I have this image where the icon Image scaled to the Button's dimensions - And I need it like this - The star is png image with transparency, thus red - it is just button's fill property.Javascript solution needed, please.Thanks a lot!!
Hi guys. Wondering if it's possible to concatenate a string in to the this getField() property.I'll elaborate.I have a script writing pro forma with two main text fields SCRIPT-1 and SCRIPT-2. (The same page is saved as a template.)With a button I can spawn a new page with new text fields then the fields names become P1.ScriptPage.SCRIPT-1 and P1.scriptfile.SCRIPT-2.Each page increments the 'P' value by one for the UID.What I want to do is run a simple for loop to run through all the iterations of SCRIPT-1 and 2 on each page and bring them in to a single variable for outputting in a single textbox 'all2oneText'. This all2oneText is on a third spawned page of a different template.This is the code I am using. Can someone help me to correct it?getField("all2oneText").value = this.getField("SCRIPT-1").valueAsString + "\n";getField("all2oneText").value += this.getField("SCRIPT-2").valueAsString + "\n";//gets SCRIPT-1 and SCRIPT-2 in to all2oneTextif(numPages > 2){getField("all2oneText").
Dear friends,I am building dynamic PDF file.I'd like to hide an icon from the button field in a way when the background color (fill) is still visible/preserved.Which method/property should I use in Javascript? Is it possible at all??Thanks a lot.
I consider myself computer savvy and I can generally pick up on things real quick, but this JavaScript is giving me a headache. I have Acrobat DC and have created a couple simple forms so far. The simple calculations are easy enough, but now I must delve into the more complicated scripting calculations and I just don't understand where to start. I've read all sorts of blogs and forums, studies the instructions provided by adobe and i seem more confused. In the example form shown below, I want to have an employee enter a few fields and have the form calculate the rest as specified below:1. Column "Pay Date" PaymentD_1 should equal Repayment_Start_Date as entered by the employee.2. The rest of the PaymentD_xx should be PaymentD_1 + 14 days so that it is every two weeks.3. Total_Due needs to be Amount, plus sales tax if the Sales_Tax_Included box is unchecked, otherwise it equals Amount.4. Column "Amount" would be Total_Due divided by 13.5. Column "Balance" would b
Hello everybody. Im creating an interactive pdf with buttons that can replace images using event.target.buttonImportIcon(); command. Some of these images are .png, so they have an alpha (transparency). The problem is that the replaced images with this command appears without alpha, and inserts white instead of transparency.is there any way to insert .png images with their alpha? thanks!
Hello All,I'm writing some vba code and I need to loop all the pages in a pdf file. I am able to get the name of the current page using PDDoc.GetJSObject.GetPageLabel. I need to loop all the pages and get all their names. E.g.For i = 0 to PDDoc.getNumPages //code to read the page namesnext iThank in advance,Daniel.
Hello,I have a situation where after running a process I have a folder full of pdfs. It can be any number of pdfs but the pattern is the same:Chapter1_tab.pdfChapter1_Text.pdfChapter2_tab.pdfChapter2_Text.pdfChapter3_tab.pdfChapter3_Text.pdfWhat I need to do is merge the _tab file with the _text file below it. Each pair of files is a chapter in a book. I don't need to do any further merging other than stick the tab at the front of the chapter. I do it manually now but I can have nearly 1000 chapters and tabs. It takes hours. Thanks in advance for any ideas.
Hello to everyone,I'm hoping someone can help me out here as I'm a bit stuck.I have a PDF that has multiple hyperlinks to documents that reside on a server.Next to each hyperlink is a check box.The goal is to print the documents that reside on the server based on whether or not the check boxes are checked off/ticked.Say there are ten hyperlinks, each with a check box next to them. I'd like the user to check off/tick whatever document(s) they want to print, then click a print button that automatically prints all of the documents that have a check box ticked.Is this possible and, if so, can someone please show me how to do it?I'm using Adobe Acrobat X Pro.Thanks,Chad
I would like to validate an email address using more than one specific domain name. My current code (which I found here) for validating an email address with one specific domain name is:(function (){var sDomain = "mail.mil";if(!event.value) return;var sEnteredDomain = event.value.split("@")[1];if (typeof sEnteredDomain === "undefined" || sEnteredDomain.toLowerCase() !== sDomain){event.rc = false;app.alert("Your email address must end with: " + sDomain, 3);}})();FYI: I am using this code in a PDF form.
I have an alert box setup in Document JavaScripts. When a user opens a PDF form, this alert box pops up giving them information. If they click ok, it closes the popup window and takes them to the PDF form. But the Cancel button does the same thing. I would like the Cancel button to close the popup window AND the PDF form. Is this possible?
Hello everyone! I have searched this forum for days and tried many things but cannot find a workable solution to my problem. My javascripting skills are novice at best.I have created a numerical free text box "NumberValue" and a dropdown menu "TextChoices" with 5 text choices (ie Text1, Text2, Text3, Text4, Text5). IF the user selects Text1 AND the previous numerical box "NumberValue" is >12 THEN make the "NumberValue" = 12. IF the user selects Text1 AND the "NumberValue" is <12 THEN make "NumberValue" = the users input. IF the user selects any other text choice THEN "NumberValue" = the users input.Any advice other than closing the program and walking away?
I have a field (Field1) that gets information from a calulated field (Field2) fed by three other section group fields (fieldgroupTotal-1,fieldgroup total-2, fieldgroup Total-3). Everthing works well. I want field 1 to only show something once all THREE fieldgroup totals have a number.var v = this.getField("Total_Score").valueAsString; if (v=="") event.value = "";else { var score = Number(v); if (score>=3 && score<=7) event.value = "Low"; else if (score>=8 && score<=12) event.value = "Medium"; else if (score>=13 && score<=15) event.value = "High"; else if (score<=0) event.value = "Not Started";}This Script works great, I just now need it to only work if all three groups have had an enterie inside of that group selected.
Hello!I am trying to combine two text fields and a check box value into a line of its own within a text field. Clients are able to select one of 7 color options (Check Box1), 1 of 200 text options (Message Number_01) and the location (Location01) for 1 complete product. There are 81 total products. I need these options for each product to populate on a summary page within a text field with the "Off" on the check box to remove that line. Each of these three options should concatenate onto one lineExample:PP012 Pink Message # 101 (25)PP058 Green Message # 25 (Wall 3)Here is the basic script I was trying to use:// Get the field values, as stringsvar s1 = getField("Check Box1").valueAsString + " " + "Message #" + getField("Message Number_01").valueAsString + "Location" + getField("Location01").valueAsString;var s2 = getField("Check Box2").valueAsString + " " + "Message #" + getField("Message Number_02").valueAsString + "Location" + getField("Location02").valueAsString;// array
Hi I want to do a search in a pdf file, I want to look for a name and then to perform the search I pull an ordered list of all the times that name appears. I did it with advanced search but the list is very confusing ... is there any code to do this?
We've build an Acrobat plugin with custom annotation handler which works fine. Now we're looking at reader-enabled plugin and it seems like methods like PDRegisterAnnotHandler or PDGetAnnotHandlerByName are not available in reader at all. Is it really so? Or is there any way to enable/use these methods in Reader plugin?ThanksJozef
I am looking for a way to lock all fields after input with a button, but not signatures and possibly signature date fields. Not sure, but I don't think the protect features need to be used for this.Our sales reps need to fill out the forms, but we would like for the customers to be able to digitally sign them, and before the sales reps send the docs to the customer, I thought it would be best to lock all the fields we don't want them to be able to (even accidentally) change.I found this thread here, Form - Lock fields after input but not signatures. from the LiveCycle forum, but need to do this in Acrobat Pro.
I received this request from an accountant. She has a PDF with tens of pages, each page is a different invoice, she wants acrobat to shuffle pages and sort them according to invoice number sequence.Is it possible to script such request? I couldn't find a way to do this with existing Acrobat tools.
I'm trying to validate a keystroke entry based on the text already entered. I can get the value before the change was made, but I can't figure out how to tell the value that includes the changes (i.e. I need to accept or reject the keystroke based on the entire updated field contents). I'm sure I've done this in the past, but I can't find an example of it.Is there an event property which shows the full value with changes included?
I've used functions in my forms for years and while updating one this year the functions that have worked for years don't want to pull. Is there a preference or a setting I've messed up that is causing this. I'm at a loss here, anyone?
Hi,I want to provide a link to a PDF file that should be opened inside IE11 (the download has got header parameter Content-Disposition: inline). When I click the link the document opens as expected in the same page and takes all space in the page.The problem is now, how do I navigate back from the PDF to the first page? I am using a touch screen and full screen mode (F11 - no navigation buttons, menus, etc. visible). The "swipe-left" gesture - which is usally used to navigate back in the browser - is overriden by PDF plugin and makes me navigate only inside the PDF. I would like to navagate inside the Browser to go back to the previous page. How do I do that?Best regardsAndreasPS: I am using Windows 7, IE11, latest Adobe Reader DC and a touch screen.
I've filled out the RIKLA pdf, emailed it using the application and IT BOUNCED.I've sent an email to RIKLA Support, nothing.How do I go about obtaining a RIKLA?I have a customer using DC and Reader who wants a custom integration built between the application and a 3rd party EDRMS tool.How do I go about actually calling someone to talk to them about this?There absolutely NO way I can find a number to call... on the entire site.*v. frustrated*RH
I have a PDF form that asks patients to fill in health questions from a tablet. Then we click a Send Email button. The button sends an email the PDF attachment, personalize subject and content:this.mailDoc({ bUI: false, cTo: "email@mail.com", cSubject: "Assessment for " + firstname + " " + lastname, cMsg: content }); //content is text containing data from the form as a summary.It works perfectly on PC but doesn't work on either Android or iOS. Is there a function that can do something similar for mobile? Any help is appreciated. Thank you
In previous Acrobat Versions I was creating a instance of the Acrobat Writer by the following code:Dim objAcrobat = CreateObject("AcroExch.PDDoc")after the update to Acrobat DC the above code creates the Acrobat instance and shows the Acrobat visible. In the previous version it was invisible.How can I create a Acrobat instance invisible.Thank youThomas
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.