Unlock the power of Acrobat SDK through our community.
Actividad reciente
In searching through posts it appears I will need to use custom calculation script to ingnore N/A repones in a drop down menu when averaging. This is my first time doing a custom calculation script. I have the drop down Export Values set as 0, 1, 2, 3, and N/A when N/A is selected I would like it excluded from the average. I have 82 drop down menus set-up. Each average will include specific dropdown menus into the average. I have one that should include the following dropdown mensu named: Dropdown7 QMS, Dropdown8 QMS and Dropdown9 QMS. I am hoping someone can help me.
I have an employment intensity indicator form field that requires a value to be exported between 1 and 8 but also needs to have a 'real' value that is used in calculations. For example, if someone input 35 (hours per week), the field would have an export value of 8 (gov code), but the 35 would still be able to be used in other calculations running on the PDF. These are the constraints I need to use to allocate the export value:ILR Specification: Attribute field: Employment intensity indicator - GOV.UK (submit-learner-data.service.gov.uk)
I need a code that will calculate the total cost if one of the check boxes are clicked. For example, if people check "12 Cups" then the "Cost" text box will calculate: 12*1.50/ cup. If people want 24 cups, then just change the calculation to: 24*1.50/ cup. So on and so forth. Any ideas?
These check boxes have hidden values (1-5) and we would like to calculate the the average of these values only if those particular Check Boxes are checked. The Check Boxes in each row are named the same. Thanks for any help you can provide!
Has any one who uses PDF for PDF accessibility, ever had this error?OCCD (optional content configuration dictionary) contains AS key
My application which loops through multiple pdf documents, copies from a template, opens, populates fields with data and saves stopped working after the November 18, 2021 Windows update. I have tried different save flags (first parameter on the save), the close function (does not work), upgrading to Windows 11 (still does not work). Is anyone experiencing similar behaviour?
Hi Guys, hoping someone can help me. I can’t change the unit measurements from inches to mm. I make the change in the usual way via Preferences, Units and change from inches to millimetres but it won’t stick. As soon as I close out and restart it defaults back to inches. I am using Adobe Acrobat 9 Pro. I have run a disk repair and looked for latest updates but nothing helps. Can anyone help.Cheers Mark D.
I have this script setup to trigger on mouse up on a button action in my pdf The objective is to cycle through 3 colours so people can mark the status of a text field Red Amber or Green (RAG) This works if I hard code named colors in my events, so I thought I would do the smart thing and declare variables and setup custom colors. This is not working var MyCrimson = ["RGB",0.537,0.776,0]; var MyOrange = ["RGB", 0,0,1]; var MyLimegreen = ["RGB", 0,1,0]; if (color.equal(color.MyCrimson, event.target.textColor)) { event.target.textColor = color.MyOrange; } else if (color.equal(color.MyOrange, event.target.textColor)) { event.target.textColor = color.MyLimegreen; } else event.target.textColor = color.MyCrimson;But this does work (just ugly colors)if (color.equal(color.red, event.target.textColor)) { event.target.textColor = color.yellow; } else if (color.equal(color.yellow, event.target.textColor)) { event.target.textColor = color.green; } else event.target.textColo
Os arquivos não estão salvando após a ultima atualização. Ao clicar em salvar aparace uma janela em branco, e fica travada, impedindo o salvamento do arquivo.
Hi Guys,I have a script where I generated library Documents and email to a clients for Esign.I need to send values to form fields, but I addef Mergefields and is not prepopulating. DO I need to set the document to Authoring mode and use. Agreements/formfields. to update the default value of the fields. How is the format of the array where I add the values. I have and view one but it didnt look right with the Values. I have all the variables just need to add them and send them. Thanks so much
Hello, I would like to add information to an email depending on weather or not a check box has been ticked. I am able to do it with drop boxes but I am unsure of how to do it with tick boxes. I already have a variable called emailBody. the code I am trying to get work is bellow: if (this.getField("Inductive"). valueAsString=="0")emailBody += "\n700738197: Inductive Sensor";
I cannot print downloaded pdf files without saving them first but before yesterday I couldThis was not an issue 2 days ago...just started...I click print and it only gives me the option to save...so I have to save the document and then open the saved document before I can print it
I am using Adobe Acrobat DC and I find that I am often making the same formatting changes to things like date fields so that they appear dd/mm/yy or turing off border and fill colours for tick boxes/radio buttons. Is there a way to set these defaults at a program level, so that I don't need to keep making these small changes?
I have used IAC to copy pdf page image to the clipboard. Here is the code that no longer works (it was working for a long time until a week ago). The code still works on our old Acrobat XI Pro systems; it fails on Acrobat DC systems. The exception is always thrown. Does anyone know what happened or how I can solve the problem?private Image getImageFromDocPage(CAcroPDPage pdfPage){Image img = null;CAcroRect pdfRect = new Acrobat.AcroRect(); // the pdf regionCAcroPoint pdfPoint = new Acrobat.AcroPoint(); // the pdf pointpdfPoint = (CAcroPoint)pdfPage.GetSize();pdfRect.Left = 0;// Tricky! Faxed documents have a fax 'header' at the top of each page which makes the pages different even though the contents are actually identical!// A point = 1/72 inch.short topPortionToIgnoreUnitsPoints = 8;/*if (radioButtonIgnoreTop8Points.Checked) { topPortionToIgnoreUnitsPoints = 8; }if (radioButtonIgnoreTop12Points.Checked) { topPortionToIgnoreUnitsPoints = 12; }if (radioButtonIgn
Hello, I am having problem with saving my PDF files. When I open my file and try to save, the save button is greyed out so I can't save any of the files I open. If I try to save as I just get a pop up but its a blank and doesn't do anything if I wait.I do have a subscription but I don't know if it's single user license. We have two computer that uses the same serial number and account so could they be why it is not letting me save?Please let me know what I can do to fix this.Thanks,Won
Hi,I have been using a modified version of the code on this website (Read And Write PDF Forms From Excel (VBA) ~ My Engineering World ) to copy text from an excel document to a PDF template and then save the result. Now I want to have the macro also add in an image to the image field in my template. I'm pretty new to VBA coding, so appologies if this is a dumb question.Basically for my text I was just using "objAcroPDDoc.GetJSObject. GetField.[field name].Value" to highlight the relevant field in the PDF and paste in the value from my excel file. But I'm not sure how to modify it to have it add in an image from a specified file path instead.Thanks in advance for any help!
Hello,If i have a drop down that has yes and no in it can I adjust the email body to show pre determined information if no is selected? i.e. Are there scratches in panel work? "NO"Email body: Warning, there are scratches in panel worketc.
Hi,I have been using a custom javascript I wrote for years on Acrobat Pro 6. It also works on Acrobat Standard X but I have not been able to get it work on Acrobat Reader DC. The javascript finds a location for a signature field, creates the field, then signs it with a Digital Certificate Signature. everytime the code gets tofield.signatureSignThe console gives a Notallowed security error. I already have a trusted function etc (this all worked in Acrobat X) but cannot get it to work in DC Reader.After it errors, I can click on the signature field with my mouse and Reader DC pops up up the sign dialog and I can then sign the file, so reader is working with the digital ID, is able to sign the documents etc, but not from javascript? Can anyone tell me whats different, is this a function not available in Reader?Can anyone confirm they can get Adobe Reader DC to field.signatureSign in javascript correctly Code section below, it is "C:\Program Files (x86
Hello Adobe Support Community,I'm new to the Acrobat SDK and have only used some of the features. I'm using the Acrobat library through VB.NET right now and I'm trying to check, if an user is actually logged in in Acrobat at the time he's using the program I wrote.Because I will get an error message everytime if I'm not logged in. Is there a way through the Acrobat library to check this?
Hi, I have minumal experience in Java/coding, but understand the basics due to some programming classes I've taken in the past. I'm making an order form that a customer can change the quantity entered and add it to their order with a Checkbox. There is a suggested quantity that will already be entered. I have managed to create multiple Text fields with a script to calculate the price(Total) that is activated by a Checkbox. Next to each Text field is the Checkbox that turns the field "Off" or "On". It works fine with one, but I have 7 and each time I enter a new calualation in a new, unrelated field, it randomely cancels out the some of fields above it. See below. All are checked, so all should have the Total price entered.I was originally using these scripts in each of the Total Text fields.event.target.value=this.getField("QTY ST NE").value*30; event.value = 0;(this.getField("Check Box1").value!="On")event.target.value=this.getField("QTY ST WPA").value*35; event.value = 0;(this.getFie
Hello Everyone, I'm using Adobe Acrobat Pro DC version to save PDF File as .txt file. Set objJSO = objAcroPDDoc.GetJSObjectobjJSO.SaveAs GetTextFilePath, "com.adobe.acrobat.plain-text" This worked very well until I received a scanned PDF file with page size 22inch x 27inch. It doesn't produce text file out of it. Anyone please suggest what approach should I take? I personally feel I should SaveAs pdf with scale of A4 size paper but again I didn't find VBA code to perform that. please help. 🙂
I have a form with 3 buttons:1. a button to check to see that all dropdown fields are not default value (also set to visible, but does not print)2. a Save button, which does 2 things (first, make all fields "read-only" and secondly open the "Save As" menu item (set to visible, but do not print)3. a button to clear "reset" form (set to visible, but does not print)My issue is, when I was testing the read-only javascript code, I saved the form, yes I realize not the same as printing, however, when I opened the saved form, all fields were set to read-only, as I wanted, but I also noticed that button #1 was not showing, which I thought was strange, but then I went though all of the properties of each button, but each buttons properties for display purposes were the exact same.So why would that first button not show when being saved, but the other two did?
I want to make bookmarks as bellow using Javascript.- Each bookmark has a same name as each layers in pdf.- Each bookmark has the following action. When the bookmark is clicked, the only layer with same name as the bookmark will be displayed.----------------------------------------------var layers = this.getOCGs();for (var j in layers){ this.bookmarkRoot.createChild(layers[j].name, "xxxxxx");}---------------------------------------------- I want to enter the following script into "xxxxxx". (cExpr augument of createChild method)----------------------------------------------var layers = this.getOCGs();for (var i in layers){ if (layers[i].name === bookmark.name){ layers[i].state = true; } else{ layers[i].state = false; }}----------------------------------------------This script expression is evaluated when the bookmark is clickedBut I
Hi - I've created a PDF Form with Acrobat. I'm automatically filling the form fields with data from a SmartSheet. I have some fields that I need to change the background fill color of depending on the content of the field, once filled. For instance, if the field value is "Green", I would want to change the background fill color of the field to Green, etc. Would this be a Custom Format Script? It seems like it would be. Can someone provide some assistance on what this code would look like? This is my first crack at using Javascript in Acrobat, so a bit lost. Here is my first attempt:var status = this.getField("Risk/Issue 1 - Status Color");if (status.value = "Green")status.fillColor = color.green But that results in the following error:InvalidSetError: Set not possible, invalid or unknown.Field.value:2:Field Risk/Issue 1 - Status Color:Format I seem to be stuck at the starting gate. Any assistance is appreciated. Tony
var d will not update when I change var f unless. Initially it works but any changes made to var f will not update var d. Thanks in advance for any help. var f = Number(this.getField("Text2").value);var d = (f * 60 + 1440);var s = this.getField("STOPDATE").valueAsString;var t = this.getField("Time3").valueAsString;if ((s=="")||(t==""))event.value = "";else event.value = d;
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
¿Ya tiene cuenta? Iniciar sesión
¿Aún no tienes una cuenta? Crea una cuenta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.