Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
Hello, I have a pdf with a image i want that a user can mark anywhere on the image.... like a dot or a "x" sign or any other sign..... is it possible via script...... currently i have made checkboxes all over the image with a circle, but by doing that there are many spaces on image which a left out. Thanks
Hi, I don't know how to export a XFDF-file to the fixed map and filename. I does and must work without the file manager. The code is in the Javascript console:this.exportAsXFDF({cPath:(\C\Test\Test.XFDF), bAnnotations:true}); I tried it with \ and \ and /\ and the bAnnotations:true before the cPath and nothing works. It is on Windows 10. It originally came from Importing Annotations with JavaScript? and it works for me, but I need only the FDF-file (XFDF in fact) to be saved in a fixed map.
I have a PDF form that works with a submit button. The submit button runs on a JavaScript command (this.mailDoc). When I click the submit button, it does as intended. It opens up an Outlook window, however I noticed the window has no minimize button and there's no way to come out of it except closing the window. Is there a way to bring back the minimize button? Should the script be amended in anyway? I read somewhere that it can't be done, would like to hear any other opinions. Many thanks!
Hi i just need to show up dialog window.Because its impossible to set shortcut to replace pages, all i need is show dialog windows. The same dialog window when i click on replace pages, window has name CZ - Vyberte soubor s novými stránkami ENG - Select File With New Pages. Can some one please post JS code? I believe it will be 3 lines code max. The rest i will do with AutoHotkey script.Many ThanksEDIT: in active document of course 🙂Screen here:https://ctrlv.cz/hLzy
Hi there, Okay first off id like to applogise i barly know how to use acrobat so please bare with me. i'm trying to create a dynamic stamp ive got as far as creating the stamp near enough i have just added in a live date change however i am following a youtube video that has been done on mac and i am on windows so everything seems to be in a slightly different place and i cant seem to fuind the page templates tab Sorry if this wasnt too clear ill link the video and time in video to hopefully make myself a bit cleaer https://youtu.be/OjK5NbjOZCI?t=338 I doubt anyones having the same problem aha but if you are the tab is under jarvascript in more tools 🙂Thank you,Dan
Hi everyone, I work for an Apprenticeship provider in the UK and I am trying to move away from printing too many documents to digital ones. We have something called a start pack with repetitive information like start date, learner name, employer…However, each start pack have a few different pages such as standards, learner journey depending on what apprenticeship the learner undertakes. To make it even more complicated, the learner journey is different if the company is a big corporation or an SME and if the learner is from 16-18 years old or older learners. I have managed to create different fillable forms where I only have to fill in the name once and other fields of the same info automatically filled in and the dates as well based on a calculation (for i.e Business Admin end date is 15 months from start date). I name them along the line of Business Admin-young learners-Levy or Business Admin-existing employee-nonlevy. So imagine that I have like 15 files for one appre
I have a pdf form that I am using for a registration page. When you select a training course from the drop-down menu, I would like for the date and location of the course to auto-fill in the appropriate text fields depending on which training course is selected.
For some reason, text added to a pre-populated text field disappears when the fields on the page are set to read only. This happens on every page spawned, except the first page. I have a form setup where users can spawn a new page to enter information for multiple instances. The form has a textarea that prepopulates with several lines of text. I wish for these lines to remain so the users can type next to the text already there. The text are categories like: Name, Email, Phone (etc...)I use a dropdown field to populate the text. It is in a Custom Validation Script in the dropdown field (I've found that if I put the text in a Custom Format script in the text field itself, the entire text disappears when you click in that field). var v = event.value; var f = this.getField("0Work notes"); f.value = "Name: \nEmail: \nPhone: \nWorking Hours: \n"; When the user types into the field, they just add data after the item category. At the bottom of the page, I have a button tha
Hi!I want to do such a thing:- add the active field (click) to a specific place in the PDF file (button - I know how to do it)- create a script in JS that will show me the number of today (e.g. 320 day this year)- move to a specific page (the result of the script No. 1) - e.g. to page 320 Could you help me with these scripts?Thanks!
I REALLY NEED YOUR HELP IT'S URGENT i can't sign a secured pdf document please i need your help!! my prof sent me a secured pdf document that i have to sign and i can't and it's too late to ask herr
I have multiple fields to enter data. I am trying to VALIDATE that with results like ALERT and COLOR CHANGE in the same field where the data was entered. It is working fine up to certain range. But when the goes within the range of other field it is giving conflicting result.Suppose I put the following in one field:event.rc = true;if (event.value >= "5" || event.value <= "10.0"){event.target.textColor = color.blue;}else{app.alert("The entered value is after lunch glucose and should be between '5.0' to '10.0'");event.target.textColor = color.red;} And in another field I put:event.rc = true;if (event.value >= "90" || event.value <= "130.00" ){event.target.textColor = color.blue;}else{app.alert("The value is blood pressure SYS. If it goes higher than '130' you are in high blood pressure and if it goes lower than '90' you are in low blood pressure ");event.target.textColor = color.red;} Thanks
Hello,Is there a way to suppress saving document in case of Ctrl+S pressed? I tried clear flags PDDocNeedsSave on PDDocWillSaveNSEL and PDDocWillSaveExNSEL callbacks but it didn't work, document saves anyway.
Hallo zusammen, ich habe folgende Problem, hab zwar auch Adobe Support kontaktiert aber die konnten mir auch nicht helfen aber vermuten dass es an JavaScript liegt und ich kenne mich da garnicht aus. Es geth um PDF Kontrollkästchen, siehe Bild. ich habe auch einen abschnitt von meinem PDF-Formular beigefügt. Bild 1: ist soweit richtig wenn ich Tarif 3 wähle soll bei IPTV und Satellit kein option aktiv sein.Bild 2: ist auch soweit richtig wenn ich Tarif 2 wähle soll bei IPTV und Satellit alle optionen aktiv sein.Bild 3: hier fängt meinem Problem an und zwar wenn ich Tarif 1 wähle sollen Option 3 und Option 3.1 deaktiviert sein und ich weiß nicht wie und wo man bearbeitet. Vielen Dank!
Help! I've been furiously working on a fillable PDF using Acrobat DC and I have (literally) thousands of dropdown menus that I would like to edit simultaneously. The problem is that the Javascript that I'm trying to edit will not allow me to choose the "Validate" tab if I select more than 1 dropdown to edit.Is there a way to do this without having to individually select each dropdown menu validation tabs to edit? More specifically, I want edit all the dropdowns from this: var f = event.target;var fv = event.value;if (fv == "4") {f.fillColor = color.green;}else if (fv == "2") {f.fillColor = color.yellow;}else if (fv == "1") {f.fillColor = color.red;}else {f.fillColor = color.white;} To this: var f = event.target;var fv = event.value;if (fv == "4") {f.fillColor = color.green;}else if (fv == "2") {f.fillColor = color.yellow;}else if (fv == "1") {f.fillColor = color.red;}else if (fv == "D") {f.fillColor = color.blue;}else {f.fillColor = colo
Hi guys,I am newbie for Java and I have a problem here. I wrote the custom code script in "Bank country" field - if the dropdown selection is "Canada" , another field will be unhide. otherwise, the field will be hide all the time. However, the changes will not appear immediately after I change the dropdown. Only if I click on the dropdown one more time, the changes will appear. How to make the hide and unhide of field works immediately after i change the value of dropdown?is there any way? link to doc: form Hope to hear from you soon. Thanks.
Hi,When I create a drop-down menu in a dialog box (list of the fields for example), the items are classified in the unicode character order.Is it possible to sort them in a customized order or indicate the position of the items?thanks in advance.@+
Hi,I have a problem. I wrote this java - script to autofill diffrent checkboxes from a selection in a Drop - Down - List, but it doesnt work. Can somebody help me pls? Thanks for helping! if (event.value == "Modul Ernährung und Gewichtsreduktion") {this.getField("Check 0").checkThisBox(0,true);this.getField("Check 4").checkThisBox(0,true);this.getField("Check 5").checkThisBox(0,true);this.getField("Check 7").checkThisBox(0,true);this.getField("Check 15").checkThisBox(0,true);}else {this.getField("Check 0").checkThisBox(0,fals);this.getField("Check 4").checkThisBox(0,fals);this.getField("Check 5").checkThisBox(0,fals);this.getField("Check 7").checkThisBox(0,fals);this.getField("Check 15").checkThisBox(0,fals);}if (event.value == "Modul Bewegung") {this.getField("Check 0").checkThisBox(0,true);this.getField("Check 4").checkThisBox(0,true);this.getField("Check 16").checkThisBox(0,true);this.getField("Check 81").checkThisBox(0,true);}else {this.getField("Check 0").checkThis
Hi, I have created a code to find whether a new line has been created in a multiline text field which is working well. Although what i really want to do is to count how many a new line has actually been input. For the life of me i cant quite figure it out. I am pretty good with javascript, but the calculation logic for counting the quantity of a specific thing in a field is a bit above my head. Any help would be appreciated. The example below is script that i have started building, but i cant get it to work. There are no errors in the JS console but the field i put this calculation in only says "undefined"var ENT = this.getField("multiline test").value.toString().search("\r")!=-1; for (var i=0; i < ENT; i++){ event.target.value = ENT.value; }
I am trying to set up a conditional statement that goes like this: If a customer selects 6 or more products from a list of all possible products, then they will be offered 10% off of their subtotal. I have a field set up to calculate the "Total Quantity" of products ordered and a field for the "Subtotal". I then have a field set up for what the discounted price shoud be, once the 10% is taken off - "Discounted Subtotal. I have tried with no success to set this up correctly. Any help/ideas would be greatly appreciated! Thanks!
I have a form that requires percentage to be calculated using values input by person filling form.Text4.0 is no. of attendeesText4.1 is no. of EmployeesText 4.2 is the percentage calculation
I have created a financial statement form with format of 0 decimals. I know that formatting is visual only. The table has five columns of information relating to Rental Property #1, #2, etc. One of the calcs is the following (which I repeat for each property):event.value = Math.round(this.getField("GrossMthRent_1").value * this.getField("OwnershipPercentage_1").value); which I contain in a hidden field (Prop1Rent),etc. Then I add all Prop#Rent calcs for a visable TotalShareMonthRent. This total then flows to the summary page where it is presented as an annualized total (TotalShareMonthRent*12). The calculation order was challenging as the totals on page two and three flow to summary on page one so 2&3 have to be calc'd before page 1, but it works great and both the format and the actual system number are the same. My last hurdle is that I don't know how to struc
Hello to all, I'd like your help in how to get the font name and size of the selected text and then change the font name and color of all words with that font name and font size using JavaScript. Below is a kind of pseudocode what I thought. For example:var f = this.selectedtext.fontnamevar s = this.selectedtext.fontsize for each word with font f and s{ word.fontname = "Helvetica" word.fontcolor = blue} Thanks in advance for any help
I have a button on my form that checks thats all required fields have been completed before continuing.One of the required fields is a monetary field. If it's blank, the error message appears as it should, but if 0,00 is typed in, the error message is still appearing saying the field needs to be completed.This is the code on the button, but I'm not sure what to actually change so it literally only appears if the fields are blank (it ignores 0,00) var emptyFields = [];for (var i=0; i<this.numFields; i++) {var f= this.getField(this.getNthFieldName(i));if (f.type!="button" && f.required ) {if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) emptyFields.push(f.userName);}}if (emptyFields.length>0) {app.alert("ERREUR. Au moins une de ces informations suivantes est manquante.\nVous devez compléter l’ensemble de ces informations afin de pouvoir soumettre votre dossier\n\n" + emptyFields.join("\n"));}elsethis.getField("HIDE.LockDoc"
Hi!I'm fairly new to using and making forms on Acrobat Reader. I was recently tasked to do a pdf form for my job and I have no experience with javascripts and codes. My boss wanted this certain option to appear when typed on the circled field on the picture. I tried looking for answers on Google and I didn't really understand how to do it. Can someone help me?
I am behind a proxy that changes daily, and I usually don't need the internet services.I don't want to enter my proxy password every day when I open a PDF file.I don't want it to prompt me for my proxy password unless I explicitly attempt to use an internet service.[Moved from the general, non-support Forum Lounge to a product-specific support forum - Mod]
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.