Unlock the power of Acrobat SDK through our community.
Recently active
Refinement to earlier question try67To simplify and modify an earlier question- assume the followingA document with two fields: question1 (a 2 button field)response1 (a multi line field)I've added javascript as an "Action" for the "question1" field. The javascript is as follows (triggered by mousedown)var answer1 = this.getField("question1").value;var responseText = "Response text not set (yet)";console.println("Set Variable answer1 to :" + answer1);if (answer1 == "yes") {responseText = "The answer is yes"console.println("We are setting the txt to yes");}else {responseText = "The answer is no"console.println("We are setting the txt to NO");}this.getField("response1").value = responseText;The problem is that when the event "mousedown" (or mouseup) fires, the value has not yet been set. How do run my script AFTER the radio button has been set?As it stands now, if the form is clear - the console log shows the following:Set Variable answer1 to :OffWe are setting the txt to NOClearly
After converting an Excel spreadsheet to PDF, I would still like the column filter functionality so that whoever I send the document to can filter based on multiple criteria.. Does anyone know of any tutorials that can help me achieve this?
when ever i download document from the internet that contain digital signature it will not display along side with the document. what could be the problems?
Hello. Is it possible to place 3D on a particular layer in the PDF file?From the Acrobat DC UI, when I add a 3D it adds to the entire document as the content is not added to a specific layer.I wonder if there is a way to add 3D via scripting. Thanks in advance.
Hi Guys,Can I set a javascript button beside the signature line to go directly to fill & sign to allow client to draw their signature and insert signature on the line?Any help would be greatly appreciated.Thanks.
I need help to do a simple calculation in Java Script.I have 3 columns on this fillable PDF Form.(A) GST Exclusive (B) + GST (C) =Total I need this calculation:B = A x 0.1C = B + A
I have created a form, am able to use a calculated script to hide & unhide certain fields when a certain action is performed from a dropdown box. I have added a button to spawn from a template, but I cannot figure out how to have the calculated scripts modify themselves with the new field names.
// Time Values var cStartTime = this.getField("TimeIn.0").value; var cEndTime = this.getField("TimeOut.0 ").value; // Only process if field contains a value if ((cStartTime != "") && (cEndTime != "")) { // Convert to Hours Decimal value var nStartTime = 0, nEndTime = 0; var aStartTime = cStartTime.split(":"); nStartTime = Number(aStartTime[0]) + Number(aStartTime[1]) / 60; var aEndTime = cEndTime.split(":"); nEndTime = Number(aEndTime[0]) + Number(aEndTime[1]) / 60; // Find Difference var nTimeDiff = nEndTime - nStartTime; // Test for Midnight Crossover if (nTimeDiff < 0) { // Shift 24 hours nTimeDiff += 24; } // If used in a calculation, may need to be changed to "event.value =" var nHours = Math.floor(nTimeDiff); var nMinutes = Math.floor((nTimeDiff - nHours) * 60 + 0.5); event.value = util.printf("%02d:%02d", nHours, nMinutes); } else event.value = "";
I have a reset button at the end of my PDF. I want it to make my radio groups not read only and to make my submit buttons read only. I have the first part working, but not the latter. Here is my script on the Restart button:var Q = ["KAQuestion.1", "KAQuestion.2", "KAQuestion.3", "KAQuestion.4", "KAQuestion.5", "KAQuestion.6", "KAQuestion.7"];for (var i in Q) this.getField(Q).readonly = false; // this part is working to enable the Question radio group optionsvar S = ["Submit1", "Submit2", "Submit3", "Submit4", "Submit5", "Submit6", "Submit7"];for (var i in S) this.getField(S).readonly = true; // this part is not working to disable the Submit# buttonsThank you for your help, in advance
I Am Working With Adobe Acrobat DC, I Need A Help In Creating PDF Form.Can i Change Decimal Separator In Text Formatting??If Choose Number It Shows Me Decimal Point But I Want Equal To Sign Instead Of Decimal PointFor Eg Input Is 1299.00. I Want Output As 1299=00.Is There Java Script Available For This Text Formating Please Help.
I have an interactive PDF with a form field button called “Nav_Forward_Page_14” that is set to hidden. I want the button to be visible 5 seconds after the page containing the button loads; so on Page Properties (for the page with the button), I've tried adding the following Javascript on page load, with no success:setTimeout(function() { this.getElementById("Nav_Forward_Page_14").style.display = "inline"; }, 5000);Thinking that I may have the function wrong, I also tried:setTimeout(function() { this.getElementById("Nav_Forward_Page_14").display = display.visible; }, 5000);After more research, I've also tried:function runImage() {this.getField("Nav_Forward_Page_14").display = display.visible}run = app.setTimeout("runImage()", 5000);Please help me correct the function necessary to show the hidden button after a delay on page load in a PDF. Thank you in advance!
I am trying to create a custom dynamic stamp in which the user is prompter to enter information when the stamp is placed.Here is the code I am using:var cAsk = "Please enter Inspection Date";var cTitle = "Inspection Date"; if(event.source.forReal && (event.source.stampName == "#-65c2ZoyHu7QwjOp-fjeqA")){ var cMsg = app.response(cAsk, cTitle); cMsg += util.printd("mm/dd/yyyy", new Date()); event.value = cMsg; event.source.source.info.DocumentState = cMsg;}However I keep getting the error: event.source is null.Help!!
Hi,i am looking for C#.Net library to merge set of pdf files and save them optimized, i am already holding license for Acrobat Pro DCPlease provide me any documents for the sameThanks
I'm looking for a way to permanently delete the cropped area in acrobat (batch).I have a 7 paged document which is cropped into 7 different sizes (news paper adds). I have a batch which does this perfectly, the problem is that each page can be quite big, as all the cropped elements remains in each page. I know I manually can remove these elements, open the pdf in illustrator and remove it or flatten it, but this is not an option. I have tried using "Remove hidden information", but this removes transparency as well. If I uncheck "deleted or cropped content" there's no transparency error, but the file size won't change much (stay too big). I have tried "preflight fixup" that removes cropped areas, it removes the cropped ares all right but the file size remains unchanged.I have found a javascript which was supposed to removed the cropped areas, but it does'nt work (probably my fault. I don't speak java, I only fake it!). Can somebody help me solving this problem?
I have read through multiple pages here and used various codes but am having no luck. The most common error I receive is a cPath unsupported error. I have place code in the trusted folder script area. I have tried various button codes but same results.let me explain my unique situation and what I need to accomplish and maybe there is a simpler way. all I need is to have a for button simple enough. it needs when pressed by the user to either silently save as or bring up a dialog, preferably a dialogue that will save the filled pdf as a new name chosen from 2 or three form fields that have been filled out by the user with valid either number or letter characters. honestly it could even save the form as the same name but to a new folder named from just one form field and i would be able to live with that. this will be used on only one pc on a closed network and the form will be saved to a local path. I understand I may still need trusted script wh
I have the following code but it is not creating a draft when you click on it. What is wrong?var subject= getField("Part Number").value + (" \ ") + getField("Material Number").value + getField("Priority").valuethis.mailDoc({cTo: "email1@email.com",cCC: "Email@email.com",cSubject: subject,cMsg: "This is a DORF Request please provide a response in a timely fashion."});
Hi, not sure why it does not work.If think it's a simple question, but I can't find a solution on how to include more than one variable-set into the e-mail text...The action button works, if I have either "Datenpflege" or "Schriftverkehr" in the script. But it doesn't work when I have both in the script.var Datenpflege=""; var c1 = this.getField("Mietvertrag").valueAsString!="Off"; var c2 = this.getField("Kündigung").valueAsString!="Off";var c3 = this.getField("Nachtrag").valueAsString!="Off";var c4 = this.getField("Laufzeit").valueAsString!="Off";var c5 = this.getField("Indexmiete").valueAsString!="Off";var c6 = this.getField("Umsatzmiete").valueAsString!="Off";var c7 = this.getField("Staffelmiete").valueAsString!="Off";var c8 = this.getField("Sonstiges").valueAsString!="Off";var c9 = this.getField("Korrektur").valueAsString!="Off"; if (c1 && !c2 && !c3 && !c4 && !c5 && !c6 && !c7 && !c8 && !c9) Datenpflege= "
Hello,I am trying to figure out how to combine multiple single page forms that gets filled out with specific Physician information into a single file without the fields changing to the first forms field data. Can I enter some kind of .js to keep the fields from merging/synchronizing?Thank youMakr
I want to make sure that the fillable fields will not be editable when received via email.Thank you!
I want to be able to submit a form as an attachment to an email but include a specific active URL in the Outlook email text, can this be done easily?
What I am looking to do is the user enters data into a field with an arbitrary mask (AAA99999A99999) and I wand to take the last 6 characters and have it populate into another field automatically. I haven't been able to find an answer on my own.Thanks for any assistance.--Marnin
Hellow experts,I am using adobe acrobat extended pro, i am trying to get overtime amount. please help me finding the formulas.Lets say:text1: basic salary (3000); text2: overtime hours (25); text3: overtime amount to find.Normal hours per day is 8, standard overtime is 1.5
Hi,My requirement is to create PDF file through C# application. My company purchased "Acrobat Pro DC". I go through the "Acrobat DC SDK documentation", but not able to identify the entry point.Can any one please assist us so that we can integrate it in our application.Thanks in advanceJitu
We are the developers of a Win32 application that opens PDF files using the Windows API ShellExecuteA.Adobe Acrobat Reader DC (version 2018.011.20040) is installed in Windows to open PDF files.We have a 64-bit Windows 10 Home machine (version 1803, OS build17134.137) with two copies of our application - Both copies are the exact same version of our application.When we run the application normally (ie. NOT as an Admin user), both copies of our application are able to open PDF files successfully.However, on one of the copies of our application, if we run the application using the "Run as Administrator" Windows option, when we try to open a PDF file, ShellExecuteA does NOT return any error but the PDF file does not open AND Acrobat is then "stuck" from that point forward and cannot open any PDF file using ANY user context. We are forced to restart Windows to allow Acrobat to work again.On the other copy of the application when "Run as Administrator", the problem does NOT happen.In both ca
I have a form which needs to be signed by 4 people. How do I have the form submitted to the next person after the above signature and make the fields read only?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.