Unlock the power of Acrobat SDK through our community.
Recently active
I have a pdf in Adobe Acrobat XI that I want to change the background on a couple of the pages, just to make them stand out a bit. I have done everything I've been told through Adobe Help and on various websites and nothing works. Is there a setting in the program that I need to check. I've even tried extracting the pages in hopes of changing the background and slipping it back in the doc. Nothing is working. What am I doing wrong?
Hello, I have a dropdown field called Department with 10 or so options and a text field called Manager. I have defined the export value per option under Department field and added the Custom Calculation script as event.value = this.getField("Department").value; to autopopulate the respective Manager field. This is working fine but I want the user to be able to edit/overtype the autopopulated value in the Manager field and save the manually entered Manager name. Any suggestions with Acrobat DC Standard PDF form?
I am trying to script a dynamic stamp.While I am adding menu in Javascript , wherever I use alphaber -"H" it is converted to Hour. How can I resolve this. var DateDlg = { result: "cancel", DoDialog: function () { return app.execDialog(this); }, strDefFmt: "mm-dd-yyyy", strFmt: "SCHEDULED ", vDate: new Date, strDate: "",
I was going to try and send my PDF file to look at and see what I am doing wrong, but it won't let me.I have 1 4-page PDF form with several fields and there are 18 required fields on this 4-page form that must be filled out. Step 1 is just a text label that said, "Fill out form". On the last page at the bottom are 3 buttons. The "Step 2" button is visible and said, "Step 2 - Review your answers, then click here to submit form". This button has the following Actions: The first 2 Show/Hide a fields hides the Step 3 and Step 4 button. Then run the following javascript code if (oField.valueAsString == oField.defaultValue) { oField.strokeColor = color.red; emptyFields.push(oField.name); bProcess = false; } else oField.strokeColor = color.transparent; After the javascript code is ran, another Show/Hide for the "Step 3" button.The "Step 2 button doesn't seem to execute the javascript code. I was trying to follow this article. Either I missed something or of cour
I want to convert image to binary file/stream in adobe acrobat pro using Adobe Javacipt. I need to embed the uploaded image path as a binary file/stream and then add to 2D Bar code and fetch the image while reading from the bar code.
So I've got a "Game" I've made in Acrobat where the user clicks on certain buttons and a layer appears. I wanted to do a final "congratulations" thing at the end when they click on the finish button. Basically If "Layer 20" and "Layer 11" (and some others that I haven't done yet) are visible and the rest are not then I want the button "Complete" to appear. Otherwise I'd like it to reset the visibility of the layers to the default state. This is as far as I've got:function FindOCG(cName) { var aOCGs = this.getOCGs(); for(var i=0; aOCGs && i<aOCGs.length;i++) { if(aOCGs[i].name == cName) return aOCGs[i]; } return null; } if(FindOCG("Layer 20"&&"Layer 11").state=true) { this.getField("Complete").display=display.visible; } Else { this.getField("Complete").display=display.hidden; }If 20 and 11 are visible it appears okay, but if they're not visible and I click the Finish button then those layers appear and so does the finish b
I am using the latest version of Acrobat Pro DC with the latest version of MacOS Catalina. When I use the internal Javascript editor, wherever I click in the editor it leaves a colored mark. The marks accumulate, i.e., they don't disappear when you click in a new location. The more you click the more marks there are. I find nothing to do with this in Acrobat preferences. Since I don't know what these marks are called my searches in the help menu are fruitless. How do you turn this feature off?
The below is in the custom validation script box of a field (model4) on page 3 of my document and if absolutely any content is added to that field, a message appears on page 1. - on the document as a standalone, the first part works well, but if the content is removed from the model4 field, the message on page 1 doesn't revert to hidden- if the document is used through an automated system, it merges with content in the field model4, but the message on page 1 doesn't appear.Have I missed something or made a mistake?if (event.value.length == 0) {this.getField("Cont onto Sch22").display = display.hidden;} else {this.getField("Cont onto Sch22").display = display.visible;}
I use Acrobat Standart DC for making pdf documents. I applied checkboxs with JavaScript there. If I test it on computers, it works perfectly. But if I activate it on mobil telephone , it does not work . My mobil have OS Android and I used Acrobat Reader there. Can you tell me, what can I do to make it work? Where is problem?
How we can access this add image properties using Java script.
Hi all, I would like some help with a Javascript. I am trying to create drop down menus that when a category is selected from the first drop down menu, the second drop down menu will auto-populate with options relating to that category. For example:I would like my first drop down menu to have 2 options, first one being 'Material Classifications' and the second being 'Machine Classifications'When 'Material Classifications' is selected from the first drop down menu, I would like the second drop down menu to auto populate with the following:Fuel - DieselFuel - ULPLubrication - FluidLubrication - GreaseLubrication - OilCoolantSurface Coating - AcidSurface Coating - PaintSurface Coating - SolventGases - AcetyleneGases - ArgonGases - NitrogenGases - OxygenGases - RefrigerantGases - Argoshield (Ar, O, Co2)Electrodes - E308Electrodes - E410Electrodes - E7018Electrodes - E71TElectrodes - ENi-CLElectrodes - ER5154Electrodes - ER70SElectrodes - Paste/PowderNo CategoryWhen 'Machine Classifications
Hi, First time poster! I've got a lot of experience in VBA but naff all in javascript. Is it possible to toggle the visibility of a button on the click? I've tried event.target.display = display.hidden which works fine to hide it but I can't unhide it. I've tried: if(event.target.display = display.hidden){event.target.display = display.visible} else {event.target.display = display.hidden} but it doesn't work. I'm assuming this is possibly because the user can't actually click the button when it's hidden? Is there any work around for this? For example, instead of the button being hidden, it could go to a transparent background when the file is open and then when it is clicked it reverts back to it's original state? When it is clicked again it goes back to being transparent? Any help greatfully received!
I am trying to create a calculation for an expiration date that is based on a 17 month cycle. this date will need to auto populate based on a user completion date. I am looking for a Java script that would compile this.
I have a form that when opened, there is a "Today's Date" field that is supposed to grab the date. But it is not updating. It got a date of 03/18/2020 in there. I don't know where that date is coming from. I followed this article, but no luck.https://answers.acrobatusers.com/add-automated-today-date-form-javascript-q118604.aspx I am using Adobe Acrobat Pro DC Version 2020.012.20043. Any help would be appreciated.
I have a total field for a simple calculation from data from two other fields. What I'm trying to do is have the total field not populate if one of the two data fields doesn't have data. I would like also for the total field to be greyed when total = 0 or less.
On buton field I use focus/blur to show/hide text field1, on my field2 I set up code if field1 is visible ,field2 show some text, but "on focus" doesn't count field1 as visible. Is there way to fix that?
I am not a javascript person and not sure this question is related to javascript.I have a form with a row of Text Boxes. The first box is a Check Box and when selected, the Text Boxes in the row will display (hidden if the check box is not checked). At the end of the row, I added another Check Box that I want hidden unless the first checkbox in the row is selected. Since there is no Calculate Section for a calculation, is there a way to accomplish this?
Hello everybody. This is my first time working in Adobe with Java Script. I have created a document in which a certain percentage should be deducted from a value. If all values are subtracted correctly the result should be 0. The formula works fine for some numbers.With other numbers (for example: 3,6,7,12,14,17,19) the error "The value entered does not match the format of the field" occurs. This is the script I use. Unfortunately I cannot explain the errors at all.var v1 =this.getField("Reisetage").value;var v2 =this.getField("k-an").value;var v3 =this.getField("f-an").value;var v4 =this.getField("m-an").value;var v5 =this.getField("a-an").value;var v6 = 0;if(v1=="ein"){v6 = 0;}if(v1=="mehr"){v6 = v2 - (v3*20/100*v2)-(v4*40/100*v2)-(v5*40/100*v2);}this.getField("Anreise").value = v6; Perhaps someone can help me with this problem.
Hello All, Q1: I have question regarding Images, If I attached the Image in annonation, is there any we can put that image in the Image field so that user can see? Q2: Is there anyway if user select the image in the Image field we can pass that value that image to annotaion to attach that image file, In short User does not need to browser the image again for the Annoantion. Thanks for your help in advance
I need java script for the below details: ((perdiem x total # of days)+ ticket allowance) x # of trips thank you
Does anyone know how I can get Gill Sans Light as a font on a Windows PC? I am editing a document that was created on a MAC and whenever I edit or add a word it won't allow me to use Gill Sans Light so the document doesn't look as good as it should.
Hello community! Thwre is probably an easy solution for this but I'm stumped. So I'm turning to you all. I have a client that wants to take a design I created and turn into a template that she can email to every center location. Each location will then fill in the parts to make it tailored to their center. Like entering their website, email address, and phone number. I created it exactly how she wanted with the areas to enter in the information as a form field. So far no problem. The thing is, she now wants it to not look like it was a fillable form field after they input their text information. She says they might want to email it to their clients and customers after they insert their information and it doesn't look professional if the areas they filled out look like they filled it out. So my question is how do you get the forms fields to disabled after they input their information while leaving their information still visible? Appreciate any advice or "
Hi, We are currently using Adobe filled forms that have been digitally autorised, we need to able to print these forms once in colour and then again in greyscale. The colour copy will go with the customer and the "carbon" will stay with us. I belive this would be possible with a button and some script but cant quite get it to work. If there is a better solution please let me know.
Hi AllI saw a PDF document that had a button on it called Navigation.When you click on the button, a small document (think it was also a pdf) popped up over the top right of the PDF page which had navigation links to other PDF documents.I didn't see how it was done but I would like to replicate it. I can create the button, but have not had any success with getting a popup document to display. Can any one offer advice on how to achieve this (do I need to use JavaScript?)ThanksJulie
New Line: \nEmpty Line (row): \n\nHalf Empty Line (row): ?Is there such thing?
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.