Questions
Recently active
I have a document that has an ExpireDate field that needs to auto-populate based on whether one checkbox or another is checked (these could also be radio buttons I suppose). The first checkbox "FCheck" needs to auto-populate Today+365 days in the ExpireDate Field. The second checkbox "MCheck" needs to auto-populate Today+182 days in the ExpireDate Field. If neither box is checked, the field should be blank. (There should never be a situation when both should be checked, so I guess I should change these to radio buttons).I've tried every forum imaginable, but can't seem to nail this down. Any help would be greatly appreciated. Thank you!
First off, I am NOT a scripter. I've learned from this Forum (lots of script "lifting") and reading. This is a little more complicated for me than the usual question. Users are submitting a form in which they will enter a current salary, a maximum they cannot exceed (required field) and then they will either enter a percentage for the increase that calculates the new salary OR they might enter their own "new" salary which cannot exceed the maximum and shouldn't exceed the 5%, but could (there are conditions outside of the form that would allow more than 5%). I have a hidden field that will automatically calculate the new salary if the user inputs the percentage. When it comes to choice, I don't have the option to require them to fill out one field or the other; some may pick percentage and some may chose to enter the new salary themselves.Is there a way to make both fields "available" to the user (conditional), but exclusively validated. I hope I'm explaining this correctly.The fields
Hi,I'm currently writing a PLUGIN for Adobe Pro using Adobe SDK X! and everything works great. I'm currently facing a challenge when printing using the default printer (windows 7.0) with the API AVDocPrintPagesWithParams()I need to initialize the AVDocPrintParamsRec structure to insure that the page size is FItToPaper and that the orientation is Portrait. Right now it's always pointing to "Auto portrait/landscape". The end results is that landscape pages in the document will get rotated to Portrait automatically. I need for the pages to be scaled down and Fit in Portrait mode without any rotation.I was playing with the option AVDocPrintNupData without any success.Need help,Thanks,
Hi@All. I need support to save my toolbar, which i create in Adbobe Acrobat. Everytime i close Acrobat i lost my toolbar. Thanks for help
I want to collapse a pdf form in adobe acrobat. Is it possible to do the same by setting bookmark. i want to collapse a pdf form dynamically on checking a check box dynamically.
Hi,I am using the Mac OS X versions of Acrobat Pro DC and MS Word (Office 2016).All software updated to latest versions as of March 2016.When I save the Word document as pdf, or use Acrobat Pro DC to convert the Word document to pdf,the TOC hyperlinks are not created in the pdf file.How to solve this problem?
I have created a custom date received stamp that asks for the date from the user. If the user leaves it blank it defaults to the current date. This stamp works perfect in Acrobat 11 but when i put the stamp in Adobe ReaderDC it works as long as you enter a date but returns a blank line if the user leaves the prompt empty rather than return the current date. Here is the code I used.var cAsk = "Enter Date Received - Leave Blank For Current Date";var cTitle = "Date Stamp Date"; if(event.source.forReal && (event.source.stampName == "#xM1uT4oWyH3DQs6bmmc9CC")){ var cMsg = app.response(cAsk, cTitle); event.value = cMsg; event.source.source.info.DocumentState = cMsg;}if (event.value=="") event.value = (new Date()).toString();Anyone have any suggestions to make this work in ReaderDC?Mike
I have a series of numbers that I need to add, they are in 9 fields. The page is a template, the first problem was getting it change the names of the fields to match the spawned page within the script. I solved that problem.The current problem is that if one of the fields is blank, it does not read that field as a '0', it stops adding and combines the rest of the numbers as if they were text.So, if the first 3 fields were 1,1,2 the result would be '4', however if they were 1,1, (blank),2 I would get '22'. It adds the first 2 numbers, then it hits the blank, then it will combine the numbers thereafter. 1,1,(blank),2,3,4 would be 2234, I want it to = 11I need it to consider a blank field a zero so that it continues to add, the 'custom calculation script' is below, please help.(function () {var f_name = event.target.name; var aName = f_name.split("."); var f_prefix = aName[0] + "." + aName[1];event.value = this.getField([f_prefix] + ".ADA A QTY").value+this.getField([f_prefix]
Hello, I'm working on a fillable pdf budget sheet. I want to add in formulas to calculate percentages. I found the code below to remove my "Warning: Javascript Window" issue from a previous forum article. I also want to add in the equation "AmountRentandFees/(TotAnnInc/12)". It works as a stand alone equation but it does not work with the code below. Is there a way that I can use both?? I'm not JavaScript savvy. Any simple ideas people may have would be greatly appreciated! Thanks!PatRemove warning:JavaScript window message from dialog (JavaScript)var dialogTrust = app.trustedFunction(function(){app.beginPriv();var data = { description: { name: "Test Dialog", elements: [{ name: "Hello World", type: "static_text", },{ type: "ok", },] } }; app.execDialog(data);app.endPriv();});
I have a plug-in that deletes all pages from a document using the following code:// get the active PDF documentAVDoc currentAVDoc = AVAppGetActiveDoc();PDDoc originalDocument = AVDocGetPDDoc(currentAVDoc);// number of pages in the documentint numPages = PDDocGetNumPages(originalDocument);// delete all pages from the documentPDDocDeletePages(originalDocument, 0, numPages - 1, NULL, NULL);The problem is that I'm getting an error message that simply says "Bad parameter" when my code calls the PDDocDeletePages() function. So I tried to delete each individual page one at a time by doing this: for (int i = numPages - 1; i >= 0; i--) { PDDocDeletePages(originalDocument, i, i, NULL, NULL); }The same error message still appears, but it happens once there is only 1 page remaining. The other pages are deleted without any problem. I have even tried reversing the loop and deleting the pages in the opposite order, but the error still comes when there is only 1
Hey Everyone,I'm trying to populate a radiobutton selection based on the values of two drop down values in Adobe Acrobat X. Here's my javascript, but it doesn't populate the radiobutton/check it. I've put the javascript as a validate event in the second dropdown, although it doesn't work under calculate either.if(this.getField("ddlOne").value == "Admin" && event.value == "User") {this.getField("Checkbox").value = "On";}Any ideas ?
Hi;I'm looking at creating a plugin in the near future. And being able to use VS 2015 instead of VS 2010 would be a giant help. Will the SDK allow use of VS 2015 in the near future? Or are we stuck back in 2010 for the foreseeable future?thanks - dave
HiI am trying to create a form on Acrobat Pro 9. I have a drop down menu for course name and would like 2 fields to be populated with the cost and one to duplicate the course name.I have tried to create a script using the examples online however I keep receiving an error... "missing ; before statement 1: at line 2"So if I pick course name I would like it to populate the cost into field Text15 then into field Course cost and then duplicate the course name into field Copy course nameAny help would be greatly appreciated.ThanksJo
Hi,Can somebody help to export the hyperlinks to txt file from the PDF using Javascript of Acrobat Actionlist.Siva
Hello Everyone,I need to import some data from an excel with at least 250 rows, and 7 columns.the first try was saving the document as tab delimited and then open and import the data manually from Adobe, IT WORKS.now i need a step more, doing it automatically with all the rows.I've found an user which has a solution in his page: Batch-Import Excel Data into PDF Forms - KHKonsulting LLChe used this code to explain how to do it:// specify the filename of the data filevar fileName = "/Users/username/tmp/data.txt"; // the tab delimited text file containing the datavar outputDir = "/Users/username/tmp/"; // make sure this ends with a '/'var err = 0;var idx = 0;while (err == 0) {err = this.importTextData(fileName, idx); // imports the next recordif (err == -1)app.alert("Error: Cannot Open File");else if (err == -2) app.alert("Error: Cannot Load Data"); else if (err == 1) app.alert("Warning: Missing Data"); else if (err == 2) app.alert("Warning: User Cancelled Row Sele
I am attempting to create a form checklist for completing tasks that require documentation at my workplace. I would like to create a button that will allow any existing PDF to be inserted into a new page after the checklist. Is it possible to script a button that will allow this? And I would like to use different buttons for each check so that multiple separate pdf files can be inserted after the checklist. Even one button that would allow multiple insertions at different times. Ideally, these files would all be recognized PDF pages that can be sorted and deleted as needed.
From my plugin I can retrieve the Acrobat version via AVAppGetVersion. For Acrobat 11, the update number is part of MinorVersion:Version 11.0.19 - MajorVersion = 11, MinorVersion / 256 = 0, MinorVersion MOD 256 = 19But for Acrobat DC, I get MajorVersion = 15, MinorVersion / 256 = 6, MinorVersion MOD 256 = 0Is there any way to retrieve also the update number (e.g. for Acrobat DC: 2015.006.30280) ?Thank you!
I have four different PDF forms that I have added to a Portfolio within Adobe. These forms all have several common fields such as Part Number, Serial Number, Stock Number, and such. I want to link these forms so if the user completes the common fields in one form it completes the same ones in the other forms also. Is this possible within the Portfolio or is my only option to combine the four into one form? I'm working with Adobe Pro XI and have added the AGI tool set.Thanks for any help,Chris
I have a C# application that makes use of Interop.Acrobat.dll.static CAcroApp mApp;I instantiate the application as follows:try{ mApp = new AcroApp();}catch (Exception ex){MessageBox.Show("Failed to create Acrobat Application:\n"+ex.Message);return;}I am getting the following results:Windows 7 Service Pack 1 --- successWindows 10 Enterprise v. 1607, OS Build 14393.576 --- successWindows 10 Pro v. 1607, OS Build 14393.693 --- failThe exception message is as follows:Creating an instance of the COM component with CLSID {85DE1C45-2C66-101B-B02E-04021C009402} from the IClassFactory failed due to the following error: 80004005 Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)).Note that Acrobat Standard DC runs without a problem on all of the machines as a stand-alone application (i.e. non-interop).Anyone else experience a similar issue and/or know of potential resolutions?Thanks for the help. -Mark
. Madcap say this is a known issue with the latest Acrobat DC. The error is "There is a problem with Adobe Acrobat/Reader if it is running please exit and try again (9:9)", anyone know of a fix for this yet? I have uninstalled and reinstalled all Adobe products, but still the same error.
Hi Colleagues!Need to complete the script (test) which count how many times WORD appeared in PDF document.I am using this scriptOption ExplicitDim accapp, acavdocuDim pdf_path, bReset, Wrd_countpdf_path = "C:\Tips.pdf"Set accapp = CreateObject( "AcroExch.App" )accapp.Show()Set acavdocu = CreateObject( "AcroExch.AVDoc" )If acavdocu.Open( pdf_path, "" ) Then acavdocu.BringToFront() bReset = 1 : Wrd_count = 0 'FindText:Finds the specified text, scrolls so that it is visible, and highlights it Do While acavdocu.FindText( "Primary", 1, 1, bReset ) bReset = 0 : Wrd_count = Wrd_count + 1 Wait 0, 200 LoopEnd If.....the problem is that loop didn't finish. It count words on each page till the end (8 pages) and then started again,Please tel me how can I count all word which I need and exit from the loop.Thank you in advance
Good morning, I am trying to set up a JS that allows a button to look for any missing required fields. Text fields and radio buttons are the types of fields that are required throughout this form. I need it to prompt all missing required fields, then once all are complete, prompt that the form is complete and ready to be printed, then followed with the print screen. At this point, I cannot figure out how to get it to point out the radio buttons or prompt when complete. It does pop up the message for the text fields and does pop up the print screen once "complete", however, whether the radio button options are selected or not, it shows all radio buttons in the error as if they were not completed. There is one gender radio button selection and the rest are "yes"/"no" type of options where they have to go through and click either yes or no on all listed. The default is set to where neither is selected.This is what I have so
Is possible to export the data on a form into a spreadsheet (preferably append data to an existing spreadsheet) when the user presses a button on the form? If so how would I go about doing that?
I have several password protected filled forms with a calculation error. Is it possible to change the calculation without open and change all the forms?
I've been using Adobe Acrobat Pro for over a year and ever since I updated to Windows 10 I keep getting a pop-up window everytime I open a pdf -- "Adobe validation testing has found this copy of Acrobat is not genuine."Any suggestions?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.