Unlock the power of Acrobat SDK through our community.
Recently active
Can someone please make me a script for dialog box I don't know how to do it myself.Dialog box should have text first( Il input custom text in code) under that it should have input field for numbers(it's not necessary but it would be nice if it have max number that can be input, lets say 7 is max number that can be input) it should have "ok" button when pressed selected number should be writen in 2 text boxes(text1 and text2) hope someone can help or give me some pointers how to start? Thanks
When data is pushed into pdf forms, is it different than being manually entered? I have calculation scripts that don't seem to fire based upon field values, and sometimes field formatting is ignored. Is this imported data somewhere else that I can't reference it with .value? Or are there only certain things I can do with it after it's imported? I recently wanted to make the value of 5 fields zero if another field was not blank, but the import just blew the numbers in regardless of calculation order or if I used .value with the target fields or not - it didn't replace the values. I do have a calculateNow function at the Document level.
I created some text form fields.Is there a way to change the format of Form Field to Date format with Javascript?
Hello! I am trying to make it so Monthly/Annually both update based on the value that is entered or updated.Is it possible to get each of these 2 fields to update once either is filled in or when the value of either is changed? It seems i can get one field to calculate based on the other but not vice versa . event.value = Number(this.getField("txt_Annually").value) / 12; in Monthly fieldevent.value = Number(this.getField("txt_Monthly").value) * 12; in Annually fieldI currently have these 2 calculations in each respective field. At the moment it doesnt allow you to alter the value inside the Monthly field. Any advice would be greatly appreciated!
I had to delete the Adobe Acrobat XI on my PC (window) andtry to installed it again (from internet) after checking my series no. at Adobe, but the installationprocedure say the series no is wrong.Br. Inge
Hello, I've been experimenting with dynamic stamps on Adobe Acrobat Pro recently and I've been able to figure out how to make a few things work but I'm stuck with Drop-Down lists. I want a stamp that when applied, gives the user a drop-down list of 4 items (5200250, 5200254, 5212254, or 5221254). I'm not sure what Javascript codes I must enter under "calculations" to get this to work.Any help would be greatly appreciated.Thank you,
Running Acrobat DC, 2020.009.20067 on Win 10.Actions Panel shows a full duplicated set of the Out of Box Actions. I know I did this while puttzing around, but I dont know how.Please tell me how to set the list back to out of box defaults. I will then add my own actions back in. Thanks!Dave
Can text color be changed in this code?app.alert("sometext",3);
Hello! Is it possible to use javascript dynamic stamp to search for a word?I tried adding this code to the Actions of the dynamic stamp template text fieldActions/Mouse Up/Run a JavaScript search.query("Test", "ActiveDoc"); But when inserting the Stamp into the document, the script does not work!
Hello, Anyone know how to have fields auto populate based on a day selected from the PDF drop down calender. I am looking to have it where if I select Monday 7/13/2020 from the drop down it will fill 7 other fields with 7/13, 7/14, 7/15, 7/16, 7/17, 7/18, 7/19. Ability to fill in the boxes underneath each day with the corrosponding day selected from the drop down in blue. Any help much appreciated! Thank you.
Hi,I have a form of 4 pages, all 4 have been turned into templates. I have dropdown on MainPage from where user can select Month, according to which corresponding template should show/hide.... ex.. if January is selected then Jan20 template should be visible rest hidden, if February is selected then February should be visible rest hidden..... Below is the script i have used,, everything is working fine... except everytime is changed the selection it throws error "Bad parameter" Attached is the link of the file: https://www.dropbox.com/s/5ht33asjvy5r0to/2020.pdf?dl=0 Here is the javascript var a = this.getTemplate("Main_Page"); var b = this.getTemplate("Jan20"); var c = this.getTemplate("Feb20"); var d = this.getTemplate("Mar20"); var resp = this.getField("Monat").value; switch (resp) { case "January 2020": a.hidden = true; b.hidden = false; c.hidden = true; d.hidden = true; break; case "February 2020": a.hidden = true; b.hidden = true; c.hidde
Hi there! I'm not super familiar with interactive PDFs - It's been a while. 😉 I'm working on a doc that I would like to have buttons that would delete sections (multiplate pages) of the document. Essentially it's a collection of forms and we don't always need all of them. So I'm looking for a quick way to hit a button to remove them from the collection. Do I do that through Javascript? If so, how do I do that? Thank you!!!
Hi,I have a form of 4 pages, all 4 have been turned into templates. I have dropdown on MainPage from where user can select Month, according to which corresponding template should show/hide.... ex.. if January is selected then Jan20 template should be visible rest hidden, if February is selected then February should be visible rest hidden..... Below is the script i have used,, everytime selection is changed it throws error "Bad parameter". My adobe version : Adobe acrobat pro DC 20.006.20034.39303 Attached is the link of the file: https://www.dropbox.com/s/1sra0teo5w96k93/2020.pdf?dl=0Here is the javascriptvar a = this.getTemplate("Main_Page");var b = this.getTemplate("Jan20");var c = this.getTemplate("Feb20");var d = this.getTemplate("Mar20"); var resp = this.getField("Monat").value;switch (resp) {case "January 2020":a.hidden = true;b.hidden = false;c.hidden = true;d.hidden = true;break;case "February 2020":a.hidden = true;b.hidden = true;c.hidden = false;d.hidden = true
I'm new to editable PDF's and a novice at Javascript. I have three number fields (Text11, Text19, Text27) that if the value inside any one of them is one or higher - I need it to unlock another box below (OTHER1). Does anyone know how I programme this with custom script? Thanks!
Hi, I'm working on creating a form in Acrobat where the user (who will be using Reader) will select from a group of 5 radio buttons. 3 of these choices/radio buttons need to spawn and go to a page where they provide more detail. I've figured out how to use templates and spawning to have a template page hidden until the user clicks on one of the radio buttons and then go to that page (last page) using this code on each of the 3 radio buttons: this.spawnPageFromTemplate("Driving.HighwayCode");this.pageNum = this.numPages - 1; The issue I have is that I only want the template page to be able to spawn once and then ideally hidden if one of the other 2 radio buttons are clicked. I've tried to create some code that when one of the spawning radio buttons is selected, a hidden checkbox changes to say the page has spawned and that if another of the buttons is selected then not to spawn along these lines: https://answers.acrobatusers.com/Limit-spawned-template-q231635.aspx&nb
Hi There I have created this validation that runs from a dropdown i.e. North of Tyne, South of Tyne, etc...When the colleague selects North of Tyne the "Probation Office" Drop-down Field successfully shows Ashington, Berwick-upon-tweed, Newcastle and Wallsend - So far so good!However, whenever a colleague selects anything other than "Ashington" and presses save, this field always resets to ashington. It is reverting back to the first value in the dropdown for all of these lists and I wonder if it is due to the validation in the first field or the options in the 2nd field? Thank you so much for your help, I am new to Adobe and this is my first community post.
I have recently learned that iOS Adobe Acrobat does not handle custom calculation scripts very well (credit - Thom Parker). I am looking for a solution for the following on iOS: Date of birth date picker in the format of YYYY-MM-DD but parsed to three separate text boxes: BOX1: YYYY, BOX2: MM, BOX3: DD. I would also need a regular date picker that could convert lets say 2020-04-21 to three textbox ( eg. BOX1: 21, BOX2: April, BOX3: 2020)). I have been using util.scand and util.printd for desktop Acrobat for this which works great but does not work on mobile. Thanks in advanceLouis
I'm creating an employee evaluation form using Acrobat Pro DC. I have dropdown boxes for the evaluators to assign a ranking of 1 - 5 for each of twenty-five predescribed statements (e.g., "Excerses good judgement") in five categories (e.g., "Leadership", "Job Knowledge"). At the end of each category there is a field showing the average ranking for the five statements in that category. At the end of the categories there is a field (TotalAvgs) that tallies the five averages. Based on that total I wish to autopopulate a checkbox (or other type of box) in front of the applicable performance rating:* Does Not Meet Expectations (<15)* Meets the City's High Expectations (15-19.9)* Exceeds Expectations (20-22.9)* Far Exceeds Expectations (23-25) I have written a few logic statements in Excel but don't yet understand how JavaScript works. Can anyone give me some pointers? Not to be pesky but I forsee having two other questions, which I'll bring up after this one, related to Populat
I could use some help with something I can't find on the forums. I have a fillable form with a drop down field named 'EmployeeName' and a text field named 'WorkDate' which is formatted to enter a custom date. I would like to ensure the user selects their name from the drop down list BEFORE they fill out the date in the text field. Is this even possible? or have some sort of alert message that pops up if they try entering the date before selecting their name? Thanks!!
Can someone potentially help me with a problem that is hopefully easy to solve. I have three groups of radio buttons (Group1, Group2, Group3) - all with Yes and No checkboxes. I want to make it that if Yes is selected in ANY of the groups the details box is visible. I managed to use "Mouse up" "show a field" for the "Yes" boxes and "Mouse up" "hide a field" for the "No" boxes to almost get it to do what I wanted, the only problem is if the bottom box is selected "No" they have to reselect a "Yes" box to reshow the details box. Is there a way to make it so that if any of the Yes boxes are selected the details box stays visible regardless of what they select afterwards? I haven't used JavaScript before and I'm pretty new to editable PDF's overall so am a little lost!
I was hoping that someone would be able to write a simple script for me. I am a teacher and grading pdf papers. I am using the check mark symbol under the "fill and sign". All I am looking for is a script that will just pop up a box that will tell me how many check marks I have placed on the document. Ideally I'd like to be able to amend the script to also count other characters from the fill and sign tool such as the cross or line. Is anybody able to assist me with this? Thank you very much.
Hi community, I would like some help with some javascript ! The script I found helps me with marking circles over answers on a pdf that I have. However, I would like some help changing the code so that if I click on the button again, the circle disappears--to give people the option of selecting and deselecting. Any help much appreciated. The code is below. Credit Source: http://khkonsulting.com/2016/11/mark-selected-options-with-circles-in-pdf-forms/#:~:text=On%20the%20%E2%80%9COptions%E2%80%9D%20tab%20select,select%20options%20on%20the%20form.var baseName; var currentState; // get our namevar theName = event.target.name; var re = /(.*)\.(.*)/; var ar = re.exec(theName); if (ar.length > 0) { baseName = ar[1]; currentState = ar[2]; // make this button visible event.target.buttonSetIcon(this.getField("icon").buttonGetIcon()); event.target.buttonPosition
Someone help pls, how to get second calculation in new lineevent.value = Number(this.getField("field").valueAsString)*5 + "\n" *5;
First time using Acrobat Pro DC and I have never written in Javascript.I made a cool form with fields, drop downs, signatures, dates, clear the form button, boxes that autofill numbers using average or sums of numbers from other fields. Everything's working great. But when trying to learn how to write an easy code for doing something a little more custom I find that no codes work at all. I have the Enable Acrobat JavaScript and Enable interactive console boxes checked in Preferences. In the console no scripts operate. Not even something as simple as 3+4. What am I doing wrong? Is there some other security setting or something that I have to turn on or off?
Can someone pls help.event.value = Number(this.getField("num1").valueAsString)*7 + "%"; event.value = Number(this.getField("num2").valueAsString)*7 + "%";Only the second code is working but I need both of them to work,if value is changed in "num1" field I need first code to activate and if value is changed in "num2" field I need second code to activate.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.