Questions
Recently active
I am using Acrobat Pro DC to make a form. The form has a section that is divided into 2 areas which are controlled by radio buttons that are in the same group. When radio1 is selected we want the entry fields in area 1 visible and the entry fields in area 2 hidden. And when radio 2 is selected we want the entry fields in area 2 visible and the entry fields in area 1 hidden. We are using javascript on mouse up actions to accomplish this in acrobat. Everything is working as expected in the preview in acrobat. My issue is that in the saving process it seems that all the javascript is being stripped out. When I go to reopen the file in Acrobat pro, all the fields are still there but there is no javascript attached to them. Is there something that needs to be done or set for the javascript to be saved at the field level?
Hello,I'm able to populate today's date to a single field by inserting this script to the Signature field.this.getField("Datefield1").value = util.printd ("m/d/yyyy", new Date());How can I do an "OR" to the above script so I can insert 5 fields? Reason being is the naming convention of the date field can be five different names. Datefiled1Datefiled2Datefiled3Datefiled4Datefiled5Instead of going into the script and edit the Datefield, I just want the script to work for any of the five.I tired this but no luck....this.getField(("Datefield1")||("Datefield2")).value = util.printd ("m/d/yyyy", new Date());Thank youEd
Is there a way to create page number fields that automatically update when you insert or merge pages from one pdf file to another pdf file? For example, if one pdf file has 4 pages, the page numbering is 1 of 4, 2 of 4, 3 of 4, 4 of 4. If I insert a page from a different pdf document, I want the page numbering to automatically change to Page 1 of 5, 2 of 5, 3 of 5, 4 of 5, and 5 of 5.
I have a specfic Field-1 that has a date in it. Now I want to add days to that date by looking at a number in another field-2 and using that to calculate how many days to add to the date in field-1ExampleField-1 ( 15-Jan-2017)Field-2 ( 6)6 = 90 daysnew date would be 15-Apr-2017How would I do this ?
I have 2 columnsNSTDSTABLK110:3512:3502:002Row Number 1: I need calculation btw STA - STD=BLKRow Number 2: If STA or STD blank, the column BLK script is no any action .Thank for your helpMessage was edited by: yanu hann
After downloading and installing the latest version of Acrobat DC I have found that the application is automatically closing after 30 seconds.I have attempted following suggestions of accepting the EULA manually & locating the license agreement, these do not seem to have worked as it is still closing after 30 seconds.I can open the preferences tab and Acrobat will remain open beyond 30 seconds however once I click OK to exit then Acrobat closes immediately.
Here is my code.Public Function GetPDFLastTwentyText(ByVal pstrPdfFilename As String) As String Dim PDDoc As Object Dim CAcroRect As New Acrobat.AcroRect Dim PDPage As Acrobat.AcroPDPage Dim PDTxtSelect As Acrobat.AcroPDTextSelect Dim CArcoPoint As Acrobat.AcroPoint Dim iNumWords As Integer Dim iMax As Long Dim arPdfLines() As String Dim i As Integer Dim fso As FileSystemObject GetPDFLastTwentyText = "" Set fso = New FileSystemObject If fso.FileExists(pstrPdfFilename) Then Set PDDoc = CreateObject("AcroExch.PDDoc") PDDoc.Open pstrPdfFilename  
HiAfter upgrade from win 7 to 10 adob acrobat professional 8 asking for reactivation but failed.Activation number: REMOVED[NEVER POST A SERIAL NUMBER IN AN OPEN FORUM !!!]please help.regardsShabir
I have the following formula and it works but I would like my answer to round to the nearest hundredth. Any help would be greatly appreciated.var ST = this.getField("ST").value;var SR = this.getField("SR").value;var SS = this.getField("SS").value;var SA = this.getField("SA").value;var WT = this.getField("WT").value;var WR = this.getField("WR").value;var WS = this.getField("WS").value;var WA = this.getField("WA").value;if((SA == "" && SA != "0")&&(WA != "0")){ event.value = "TBD";}else{ event.value = (ST*WT)+(SR*WR)+(SS*WS)+(SA*WA);}
Since the update yesterday, when I export an Interactive PDF from InDesign any fields with the same name are renamed. If I attempt to change the names back to being the same in Acrobat I receive an error "A field of different type already uses this name. Please choose a new name for the field, or change the field type to match the existing field with this name."Simply put, I'm wondering if I can no longer have a field with the same name (e.g. 2 text fields wherein the user would type something into field #1 and field #2 would also display the text - useful for client forms).Thank you for any and all help.
I am creating a pdf form by using Acrobat, and I would like to associate a checkbox to an image.In particular, I want to display an image if a user clicks on the corresponding checkbox, and hide the image again when user removes the check.How can I refer to an image? Is it possible?I would appreciate any simple js code examples for achieving this.
Acrobat = Application('Adobe Acrobat');Acrobat.activate();delay(1);this.getField("technotes").value = "This is only a test.";Acrobat activates, but balks at this.Getfield, with error this.Getfield is undefined! Wha??? But if I tell applescript to do as javascript then this.getField works fine!
So, I've been out of the Acro JavaScript loop for a while, but my new role is bringing back to this. Any guidance is appreciated.I have a form that can have up to five different signatures. (completed by, reviewed by, manager one, manager two, senior manager). The form must have completed by/reviewed by signed. However, either of those could be a manager as well. If neither are, then a manager must sign.All that's well and good, but when the form is signed, it needs to move down the workflow until its final submission (likely in SharePoint).Each signature along the way will must be allowed to add to other fields on the form.My though pattern is to email the form as FDF. Problem is that doc.mailForm() doesn't retain the signature.Can someone point me in the right direction? Essentially, my final flow should be something that accomplishes this:Completed by completes form and signs. Then sends for review.Reviewed by reviews the document, comments on previous comments (held in text fields)
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?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.