Unlock the power of Acrobat SDK through our community.
Recently active
I am guessing this is a 2 part question/answer: 1) I am looking to use a button to open a new pdf fillable form2) When it opens that new form I want it to take the info on the form open and popluate certain fields Is this possible?
I have a fillable adobe pdf form with some text fields to add comments, which on occassion is filled in with text overflow. The problem is the text overflow can't be viewed after it's locked. Is there a way it can be set up so it can be viewed after it's locked, or am I searching for something that just can't be done? I can't find anything on the forums about this.I have it set up so the document locks when the manager adds their digital signature with the following script in the console...getField("Section Manager Signature").signatureSetSeedValue({lockDocument: true, flags: 128});Thank you!
I’m having a problem setting up my dynamic email button. It works fine if I use an email address without dashes (eg. smitht@dsv.org), but when I use the email addresses as shown below with a dash I get an ‘Invalid Email’ Warning. I don’t know how to set it up as that is how the emails are supposed to be and I don’t know how to resolve it. I have documented the script I have. Any help would be appreciated. Thank you!! //Submit button Actions Run a Scriptif(ValidFields()){ var cToAddr = this.getField("ForemanEmail").value; // Set the subject line var cSubLine = "eDAC " + this.getField("Date").value + " " &n
I have a form with two groups of related products and prices. When a user checks one product from the first group, I need it to automatically check the related product from the second group and display their prices if checked. They both need to uncheck together as well.The checkboxes in the different product groups need different names because I am also showing/hiding related prices based on the checkbox being checked and a variable quantity.My code doesn't quite work:The code for the First CheckboxDisplays the Price field when checkbox is checked, andChecks both boxes (First Checkbox + Matching Checkbox)but, it won't uncheck both boxes if one or the other is unchecked.var nHide = event.target.isBoxChecked(0)?display.visible:display.hidden;this.getField(“Price”).display = nHide;if (event.target.value!="Off") this.getField(“Matching Checkbox”).checkThisBox(0, true);Is it possible to get the checkboxes to check and uncheck together, just as if they had the same name?Thanks for any assist
I am looking to have a checkbox fill in a sales tax field. I would like the checkbox normally checked and fill in with the appropiate sales tax calculation (I am using TaxableTotal*.012). Than if the user unchecks the checkbox the field will go to zero. I am just not sure how to make this happen. Thanks in advance
I am new to this so I could use some help I am trying to get the length of a field and if the field <> 9 product an error. like "your field has to be 9 charectors.I have been searching and I can not find anything.
Good morning! I am creating a PDF document that will be fillable through Reader, and there will be several buttons that are programmed with JavaScript to send the document to a different printer depending on the need. My goal is to create a quick way to send these documents with one or two clicks, and no involvement from the user on which printer they need to choose. This code in brackets [var pp = this.getPrintParams();pp.interactive = pp.constants.interactionLevel.automatic;pp.printerName = "PRINTER NAME";this.print(pp);] works great for sending it to the specified printer, I just make a quick modification to the printer name and VOILA! However, there is no feedback to the user that the document did indeed print. It would be nice to have that feedback before they clear the form and start on the next task. So my question is this: is there a way to have the above code run, then to run another code that pops up a simple "Hey, that thing printed correctly!" after confirming it
Hi, i need help editing the width and height size of the form, the object tools cannot be used in this situation. I Dont know Why 😞 I have provided the Pic below for reference.The numbers field is where i want to increase width size, so all the numbers are visisble 🙂
Hello all,I want to write a folder-level JavaScript for Acrobat Pro which has a toolbar button which on clicking changes its color. I can add the toolbar button successfully but I cannot find the functionality to change the color on clicking in the documentation. How can I do this?Any help would be appreciated.Thanks.
I have set the items in the dropdown list as follows. var l = this.getField("Dropdown1");l.setItems(["One", "Two", "Three"]); This will certainly show "One", "Two", "Three" in the drop down list.However, when actually using it, for some reason only "One" can be selected.Even if I select "Two", "One" is displayed. I created a button for trial and wrote the code there.In this case, it worked as planned. Why can't I just write the code directly in the drop-down list?Is it possible to achieve the goal without creating a new button?
Hi all,I want to write a folder level script that has a customized toolbar button in Acrobat Pro. I am able to do it using app.addToolButton() by setting the 'oIcon' parameter. Now I want this button to change to another button ( with a different hex string) on clicking it. I checked the documentation but could not find it to add a different button at run time. Is this possible? Thanks for the help in advance.
Hi allJust wondering if there is a way to insert an interactive simple bar chart in pdf forms?intention is to give a simple overview to the user.many thanks for all your help.
I have three fields in a PDF form and I need to calculate one of the fields using the other two fields. Please see below: Field A is a user input numeric field of format $12345.67Field B is a user input numeric field of format 12345.678Field C is a calculated numeric field of format $12345.67 I need the following formula as a Javascript for Field C:C=A*(1-(B/100)) example: $4500*(1-(1.059/100)) go to Field C ($4452) Thank you!
I have a full paid suite - and can no longer print I have tried the "work arounds" here https://helpx.adobe.com/acrobat/kb/error-pdf-creation-cannot-continue.html But I have to do this daily. It used to work - so whats going on?
I have a two page document &, I want to use Action Wizard to center the page contents, using an Exectute Javascript command. Unfortunatelly I know nothing about Javascript, can anyone please help me with a script do do this? All the information on the attached two page pdf is currently aligned to the top left, I cannot adjust how its printed to PDF because it is outputted via an ancient 16bit program. Thanks, in advance for any help and advice!John
Hello together. I created a form with several pages. The first two pages are the completion instruction. Now I created a button on the first page to delete the first two pages.In the properties of the button: Action - release mouse button - execute javascript&colon; this.deletePages({nStart: 0; nEnd: 1});In Acrobat Pro it works properly. In Acrobat Reader DC nothing happens.I also tried to transfer the delete command into a document script and call this function with the button click, but nothing changed.Can someone tell me what the problem is?Thanks in advance.
I am looking to use a check box to show or hide a field. The only thing is when the check box is checked i want a field to be filled with a calculated number. But when the check box is unchecked i want it to fill with a 0. Is this possible? Thanks in advance
I am using AutoMailMerge and I am trying to add a JavaScript to check if a field value is "1" then insert image in the image field. It's working with this code, but it doesn't do the else if conditions, all exported/processed PDFs contains the first image only (Circle1.png). This is the code:var f = this.getField("Image1_af_image"); if (f.value = 1) { f.buttonImportIcon("C:/Users/EslamSamy/Desktop/Circle1.png"); } else if (f.value = 2) { f.buttonImportIcon("C:/Users/EslamSamy/Desktop/Circle2.png"); } else if (f.value = 3) { f.buttonImportIcon("C:/Users/EslamSamy/Desktop/Circle3.png"); }
I was unable to respond to my original post, so I'm recreating it because I'm still hoping to find some help with my problem... I hope this is okay.So, some history.My original question was: Is it possible to create a fillable PDF form that open another PDF file and fills fields based on information from the first file.The answer was a resounding yes with instructions on how to make it work. The problem that I ran into was, while it worked on my computer - where I'm running Pro and another computer where we are running Standard - I am unable to make the button work on a terminal running Reader.My company is running off a shared drive on the X drive on all computers, the files would be saved and held in this location for everyone in a particular department to access and use.We attempted to open the files from the same location and we attempted to open the files from an attachment in the Master PDF. All solutions worked on my computer (Pro) but I am unable to make it wo
I am using a Java Script below to randomly generate a number used for a quote number: this.getField("Quote #").value = (Math.floor(Math.random()*Math.pow(10,13))); It does as it should, everytime you save or close the pdf it generates a new rnadom number. Is there a way once a copy has been saved that it saves that random number that was generated? I am trying to use this for generating a quote number to keep on file but once it is saved and reopened it generates a new number. Thanks for your help!
I have fields that are autopopulated based on radio button selection of another field (point values 0-5 or fewer options for some). I then have a field (named TotalPoints) that sums these values, minimum total points=1, maximum=23 (integers)My third field (named Accreditation Fee) needs to display a price (or simply a number) based on the total points.If the points > than 15, I created a field (named ContactOCPD) with the folloing JavaScript (located in custom caluculation script) that works perfectly:var t = this.getField("TotalPoints").value;if (t > 15) {event.value = "Contact OCPD";}else {event.value = "";}I created another field (which will sit on top of field from 4) with the folloing JavaScript. Nothing happens:var t = this.getField("TotalPoints").value;if (t = 0) {event.value = 0;}else if (t > 0 && t < 4) {event.value = 500;}else if (t > 3 && t < 7) {event.value = 1000;}else if (t > 6 && t < 9) {event.value = 2000;}else if (t
I am trying to write calculation for when a checkbox is selected a fee will calculate based on "Subtotal" and "Tax" boxes multiplied by .035So if Checbox7 is selected (Subtotal + Tax) * .035
Hello all,I'm creating some dynamic stamps in Acrobat. There are no problems with displaying dates, identities etc. But now I'm trying zu create a stamp that asks the user to enter a number that shall be displayed in the stamp. This stamp works great - but only when I use it in a PDF-document for the first time. When I use it again in the same document, I can not enter another number - it automaticly displays the number I entered without asking again. No chance if I delete the first stamp either. It still remembers the number I entered before. If i use the stamp in another PDF-document, it starts again: First use: I can enter the number. If I use it again ... no chance ... *grrr* I'm using this bit of code in Acrobat Pro DC (2020.009.20067), German: var cAsk = "Enter number: ";var cTitle = "xxx";if(event.source.forReal && (event.source.stampName == "#stampname")){ event.valu
I am using C# and Spire PDF to merge PDF files and set field values. The form is not intended to allow manual entry of any field data. The user enters their values using an HTML form - their entries are saved to a database and then programmatically entered into the PDF form. So far everything above is working fine, but the form requires calculation and field formatting. Some fields are percentages, some are currency, some are integers, etc. My problem is that field formatting and Javascripts do not get triggered when the field values are entered in C#. I know the scripts work and I know the field formatting is correct since it does all trigger once I change a field manually. How can I trigger field formatting and calculations after programmatically setting field values?
This is a simple question about the checkbox. My environment is not English.When I create a check box, the following strange characters appear in the Export Value field in the Options tab. I'm guessing it's probably garbled for some reason.・・0o0DPreviously, some operation code related to checkboxes did not work as intended. I didn't understand the cause at all so I was like addicted anything to it for a few days. Finally, I was gazing at this strange characters. I tried rewriting this to "On" and it suddenly started to work. What was originally written here? And is this a non-English versions bug?
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.