Questions
Recently active
I have a number of annotation attachments in a pdf form. I would like to get the page count of each annotation attachment(mostly pdf). Is there any way to get it.
So I am in Adobe Acrobat Pro DCReviewing my scripts (thanks for the community help in building some complicated ones) in PreviewThey are all running and functioning PERFECTLYI create a PDFTurn it into an AdobeEsignWidgetGo to the public facing URL andSad panda = no script functionalityAll the scripts are stripped away/not thereExamples:I have the date set to bedd/mm/yyyy and in the URL it is mm/dd/yyI have a script which makes subsequent fields required if the first field contains a valueIn Preview it works perfectly = every field becomes RED and requiredOn the web = nadaIs there a certain way I should be going from Acrobat Pro DC to EsignWidget when there are javascripts?Any insight would be GREATLY appreciated!
Hello,I work in compliance and often need to interview households with multiple adults. Data such as Name and DOB must be written multiple times on a multipage package that we use at work. I would like to create a PDF document that automatically completes the package with information/data completed on the first page. I'm not sure which adobe product I would need or how to accomplish my goal. Any guidance is greatly appreciated.
Hi,Wonder if anyone can assist please?We have a plug-in which has been working fine for years.When used it saves a copy of the .PDF being worked on.We have 2 PC's which have just upgraded to the same Adobe DC version (2019.012.20034) - using the same document:-One one machine it works fine without any errors.-On the other we get 'This operation is not permitted'.This occurs when the PDDocSaveWithParams command is called.Any help would be greatly appreciated. (Wondered if it was font related).RegardsStuartsaveParams->fileSys=ASGetDefaultFileSys();saveParams->newPath=pathName;saveParams->saveFlags=PDSaveFull|PDSaveLinearized|PDSaveCollectGarbage;saveParams->size=sizeof(_t_PDDocSaveParams);saveParams->saveFlags2 = PDSaveCompressed | PDSaveAddFlate | PDSaveReplaceLZW | PDSaveOptimizeXObjects | PDSaveOptimizeContentStreams | PDSaveOptimizeFonts;PDDocSaveWithParams(pdDoc,saveParams);
I'm using the following code as an action to spawn a hidden page template using a checkbox. The JavaScript works, but the issue is that each time I click the check box (check/uncheck) it will spawn a new page. I would like to toggle the checkbox to spawn the template (check) or delete the page (uncheck). Please note, this will be installed on machines that use Acrobat Reader, though the spawn functionality seems to work just fine. I am using the following code as an action within each checkbox:var a = this.getTemplate("TEMPLATE1");a.spawn(1,false,false);Thanks for the help! I am very new to coding and acrobat!
I am not familiar with JavaScript and just need it for one application. I have a fill able form that i created.The Cells used are the following:Grossamount (manual entry),2% (=Grossamount*0.02),SlipFee (manual entry)The cell i am having trouble with is for the Additional Amount due.Additional Amount due should be 2% - SlipFee. If the result is negative it should calculate Zero.For Excel the equation is: =MAX(0,I24-I26) and it works perfectly fine, but i am having issues with that in my pdf file.
Is there a script to calculate a percentage for score achieved out of total score? Thank you.
helloi could to find a script to run auto fill date (current date) when you open the file called "todaysDate"// variable to store whether document has been opened already or notvar bAlreadyOpened;function docOpened(){if(bAlreadyOpened != "true"){// document has just been openedvar d = new Date();var sDate = util.printd("mm/dd/yyyy", d); // set date now app.alert("About to insert date into field now");this.getField("todaysDate").value = sDate;// now set bAlreadyOpened to true so it doesn’t// run againbAlreadyOpened = "true";}else{// document has already been opened}}// call the docOpened() functiondocOpened();but i want to get alarm message and red frame like the required fields on the expiration date field when the current date field becomes (within and after ) the last 30 days of the expiration date field "e
I am reinstalling my applications on a new computer. Where can i go to download Adobe Acrobat 9 Pro Extended?
All my JSs are working when I check them in preview mode yet, when I export from the acrobat DC to a PDF and then ship it to the web form: https://api.na2.echosign.com/api/rest/v5/widgets/It appears that the validator scripts that are going from then acrobat environment does not make it out to the web widget.ex: If X is clicked then Y is now required JS: event.target.required = getField("present").valueAsString === "yes";This validation never happens after I have uploaded it to the widget. When the radio button is pressed it is supposed to force them. How can I make sure that the scripts migrate and function in the web form?Screen shots attached. Thanks in advance for helping!Preview inside of DC before entering value into Field 1 (First Name)Preview inside of DC after entering value into Field 1 = all subsequent fields become required(First Name)Web form does not put red * in fields, they are not required. Script did not move over.
Hello,I read a lot on internet.Who can help me or put me in the right direction.I use Adobe Acrobat DC pro.I've created a stamp. When a user put this stamp on a document the 'stamp' ask for some questions :The user has to fill in the question. One question is the filename.So I want that when the user has filled in the questions that document with stamp will be saved in a folder and filename the user has filled in.I read a lot about mySaveAs and Adobe LiveCycle and buttons and Folder Level Scripts but it don't work.How can I give the information filled in by the user in the stamp to the Folder Level Script so the document will be saved with the filename the user has filled in ?And also for the folder. The folder : "/c/ " and then the company name the user has filled in.Thanks and regards.
As the title. I have a dropdown list with two choices that have an effect on a checkbox with 6 values. The firts value of the list makes read only all the checkbox, and this is not a problem. But I would like that the second value of the list makes read only just one value of the checkbox (the fifth). How can I do this? Thanks
I have several files that will need the same comments/notes. Instead of "file, open, comments, menu, import data, click on .fdf file, open, and save" im trying to place that in an action for execute java. Am I on the right path? I was able to find this online:this.importAnFDF({cPath: this.path.replace(/\.pdf$/i, ".fdf")});...just not sure if I'm supposed to edit that? Thank you to anyone who know what I'm talking about.
Hi, this is my problem. In my pdf document, I want a main dropdown list "mainList" and a dependent dropdown list "depList1". When I choose the value in "mainList", the values in "depList1" change. In "mainList" I use this script, with three values "0", "1" and "2" that show different choices in "depList1", with the relative values:var dependentListBoxFieldName = "depList2";var dependentListValues ={"0": [[" ", "0"]],"1": [[" ", "0"]["white", "1"],["green", "2"],["red", "3"],],"2": [[" ", "0"]["white", "1"],["blue", "2"],["yellow", "3"],};if ((event.target.type == "combobox" && event.name == "Format") || (event.target.type == "listbox" && event.name == "Keystroke")) {if (event.target.type == "combobox") {if (dependentListValues.hasOwnProperty(event.target.value)) {this.getField(dependentListBoxFieldName).setItems(dependentListValues[event.target.value]);}else {this.getField(dependentListBoxFieldName).clearItems();}}if (event.target.type == "listbox" && dependentL
I have developed an Acrobat IAC application in C# in which i connect to a cloud consortium signature web service. I must now call signatures/signHash (in this method i must pass the hash of a pdf so the web service can sign it) method to sign the pdf remotly. I can do this with Secure Black Box but i want to open the pdf with IAC objects and use AcroExch.PDDoc to send this hash of the Pdf to the web service. I really dont know where to start from, any ideas ?
Acrobat Version: Acrobat XI 11.0.03Current Mac version: OS X El Capitan 10.11.4 Mac Pro retina Printer: Epson Workforce (EPSON_WF_3640_Series) When printing a document double sided, the first page always prints only one sided and then the rest of the document is double-sided. I have tried to print in reverse (Page handling>Page order> reverse) but the printer doesn't seem to respond to that command because it still prints the document first page to last. How do i fix it? Thanks!
hello I have a pdf file with two form field one is called sheet and the other foliofolio is the sum of sheet + 62, my question is is there any way to make this repeat several times and the forms are created automatically?
I am working on improving the maintenance for my company's equipment via a service ticket. When the service ticket form is filled out and submitted, I would like to have it generate a number (in order) for that document (for ex: 2019-001, 2019-002, 2019-003, etc.). I have seen some similar questions answered but all are having the number created when the document is opened.Thanks for the help!
I have used the following code in a pdf document. event.value = ( this.getField("Rent").value / this.getField("Month").value ) * this.getField("Days").value. I have formatted the field for two decimal places. When I total several of these calculations in a later field it is sometimes off by .01. While the field is rounding the number, it is using the actual number with many places after the decimal point in adding multiple fields together.
Hello,I am building a single form that I hope to make multi-purpose using different views.The first view/function is an internal facing document that a technician will populate much of the information. This will ultimately end up with a sales rep, who can then click a button and create a customer facing document with much of the information retained and a lot of it hidden.I have almost everything dialed in and I am stuck on maintaining the data initially entered by technician into the 2nd customer view. The fields between the 2 different views are largely the same, but the positioning within the document changes once switched over the to customer view.What I want to accomplish is having duplicated or linked text fields that once the tech enters it the first time will mirror into the 2nd customer field view (which would be hidden at the time of the tech completing the form).Best way I can equate it is a cell reference formula in Excel.Any ideas?Thanks in adv!
i have a small question regarding formulas in acrobat. 4 fields there... if i enter a number in one of them i want to calculate the values of the other 3 fields. if i enter another number in a second field (not empty) the calculation should start from the beginning.... who can help me there??
I just got quite a bit of help on another thread and got my script up and running perfectly (Here is the link if anyone wants context: Saving PDF form to specific folder based on field data ).Now, I'm wanting to run this script via a form button but I'm running into the expected privilege issues you'd expect since I'm running it as Trusted. Is there anything I need to do to my code to make this possible or is it a security setting that will need to be changed?Here is the script: [JavaScript] Attempt - Pastebin.com Thanks again everyone, y'all have been a huge help!
Hello Javascripters,I'm using DC, and I have a form set up that I use as a template to create many versions of itself. At the moment, I open up the master form, fill in all the relevant details, and then hit a custom menu item that saves the master form as a copy of itself to a specified folder on my hard drive, naming it with concatenated data from some of the fields on it that I have just filled in, and in the process, closes the original master, having reset all the fields, leaving it clean and fresh to open another time when I want to create another copy. (Each copy contains information about various events that I am attending, and I need to know travel and accommodation details for each etc)The master form also has a pdf attachment, which contains supplementary information regarding travel itinerary details pertaining to the event I am attending.When the master form saves a copy of itself, it obviously includes a copy of the attachment along with it. This is exactly what I want it
Hi again, everyone! I came here a while back looking for help on a script to import a tab delimited txt file, creating forms with the imported data, and then saving them to specific folders based on a certain field's data. Below is the pastebin for that code and it's commented out to show what each bit is for.[JavaScript] PDF Form Saving - Pastebin.com I'm wanting to dumb this down a bit so that, instead of importing data to create the forms, a user will: fill out the form, choose the menu item according to what type of form it is, and the script then uses the PFFSID field data to use in the Switch portion to determine the folder it is to be saved in at the end of the script.I thought that if I simply removed the While loop that the Switch section would be able to pass all necessary data to the SaveAs command, but I was wrong and I'm not exactly sure why. If you'd like to lend a hand please let me know any questions you might have so I can be as useful as possible.Thanks!
I grabbed some code on how to rename a file based on the string position within the file. That doesn't work for me because the data in the files changes so the text I need for renaming the file can be shifted. What I need instead is some sort of If/Then/Else formula. I found that code here: https://forums.adobe.com/thread/2364649 but I'm trying to tweak it to suit my needs. I am incorporating this script into an Action in Acrobat that will run through a batch and rename (or create new files) in a designated folder.This is the criteria I need for the rename:IF the PDF contains the text "Packing List" THEN I need the new file name compiled by returning the value AFTER the string "Reference to Invoice" + "." + the value AFTER the string "Shipment Number" + "." + "pl" + ".pdf" This would look something like this: 123456789.PPHB12345.pl.pdfELSEI need the new file name compiled by returning the value AFTER the string ""Customs Invoice" + "." + the value AFTER the string "Shipment No."
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.