Unlock the power of Acrobat SDK through our community.
Recently active
G'Day All, I am creating a fillable form for our daily work sheet. We give each form a unique number so that they never double up. I want to use the initials of the Supervisors name and the date the form was signed to create the unique number.Is this even possible? Thanks everyone!
Hi again,In JavaScript I want to select a stamp and add it to the PDF (works fine so far): this.addAnnot({ type: "Stamp", page: 0, rect: [36, 72, 288, 144], AP: "#DApproved" }); The stamp is now placed to the exact position and size defined in the code.Now I want to allow the user to place the stamp where ever he wants. (like when you select a stamp from the stamp toolbar)How should I proceede?
I want to check through the Links in a PDF via a javascript, but the Link object only has 4 properties (which are it's physical properties) and only one method to set a javascript action. Is there any way to determine the URL (or any other action) that is set for the link via javascript?
I got a book from John Deubert "Extending Acrobat Forms with JavaScript". Is there books like that but newer date?
Hi All,I have created a PDF form which includes JavaScript scripts and sensitive data such as URL to Submit the PDF to.The form is an application form and I am hoping to allow clients to edit the data in the text fields but not be able to access to the code behind the scenes, i.e. the JavaScript and the submission URL. I had a quick look on Google but it seemed to be people wanting to lock the forms down as a whole, where I am hoping to still allow the client to edit some fields.Whats the best way to do this?
Hi, I have been trying to write an app that will allow a PDF(s) file to be indexed (create a pdx file set). SO this user does not have to open acrobat to create the full text catalog manually. After much research and reading and dead ends I believe I have finally come up with a plan of action. Acrobat DC Pro comes with a "catalog" plugin that appears to be able to create a PDX file. It seems the best method for me to access this catalog plugin (API?) is to write a C++ application to call the catalog functions. I have not developed in C++ for a while but I used to. I downloaded Microsoft Visual Studio to create my app.Now I have hit a deadend again. Trying to find some example of using Visual Studio to access the acrobat plugin but getting nowhere. I have been through the SDK but can't seem to make any head way. Any example of calling any of the acrobat plugins would be helpful - like the search plugin. Thanks for any advice.
Hello my friends, I've a problem which I am hoping will be solved with your help:)I made a pdf form with calculating net and gross price where customer can type how many of products wants to buy and it works all fine (attachment). The problem is when I want to make a discount (for example 10%) of total price if customer order 2 or more products and I'm stuck. Do you have any ideas how I can make it happen? I can write JavaScript code but I dont know how to implement it into pdf. Is it possible to use the total net price as a variable? Any ideas will be very valuable, cheers!
I have made a simple form in acrobat with text fields and two fields for an image to be added by the end user. When this is viewed on a microsoft surface or Ipad, the image field does not open a dialogue box to attach an image. Any suggestions
I’m creating a template in Word 2016, and I have a couple of issues. Most of the fields have an on entry macro associated with them to force text input for the prior field. A message box comes up if the user tabs out of the field without inputting text.My first issue is this: The last field, E-mail, has an on entry macro for the field before it, Extension, and an on exit macro so if the user tabs out of the E-mail field a message box comes up.When the user completes the Extension field and tabs to the E-mail field, if they tab out of the field without entering text a message box comes up letting the user know they need to enter text into that field. However, when the user clicks the OK button the cursor advances to the first input field (Dropdown1). I would like it to stay on the Extension field, Text 13. Below is my coding: Sub ForceEmail()Dim Msg, Style, Title, ResponseOn Error GoTo fErrorIf ActiveDocument.FormFields("Text13").Result = "" Then Msg = "You must enter t
Hello all,I am trying to create an if /then statement on a sales agreement that needs to calculate different amounts of tax based on the amount of the sale. I don't know if I am using the wrong field names or what but I keep getting syntax errors.We have a 6% sales tax with an additional Education tax of .5% up to $5000. Everything over $5000 is a 6% tax. The name of the cell that has the value of the subtotal of the sale in it is called SubTotal, the "Tool tip" name is "$_Row_1"Here is my equation description:I want to calculate the amount of tax to charge based on the amount in the "SubTotal" cell.If statement: If cell named SubTotal is < $5000If True: then SubTotal * 6.5% (.065)If False (greater than $5000): then subtract $5000 from the SubTotal amount and multiply it by 6% (.06) and add $325 ($325 is 6.5% of the first $5000) Here is what I put in the calculation field for "Sale Tax": if(SubTotal<5000, SubTotal*.065,((SubTotal-5000)*.06)+325) What am
After a sleep Acrobat Standard DC keeps asking for signing.I use Windows 10 64 bits.Is there a way to avoid this?Thanks for your help,Daniel
I'm trying to do this lesson i have from a book but it doesn't work.I do everything as described in lesson but my result is 11.00 and not 11:00.Can someone help?
I am long-time user of Acrobat Pro. I am accustomed to use proximity searches over multiple documents. I got a new Dell Win10 computer so upgraded to Pro DC. But "ALL OF THE WORDS" proximity search always produces same results as "ANY OF THE WORDS". I can't discover a reason except a flaw in DC. Should I resume Pro XI?
Is it possible to add a user entered duration to an entered time.For ExampleA field "starttime" entered by a userA field "enroute" entered by a userstarttime + enroute = newtime starttime is a time in 24hr formatenroute is a duration, 1h 15m for example, which is variable entered by the user up to 8 hours So if starttime is 16:24 and enroute is 1:15, newtime would be 17:39
Hi,I have been working on some folder-level scripts for a Win10 device which is using a free license of Acrobat Reader DC. I've tried to locate the 'Javascripts' folder on both user and app levels but both are undefined when I used the 'app.getPath("user","javascript");/app.getPath("app","javascript")' functions in the javascript console. I've even tried to manually create directories for them under "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts" and "C:\Users\<user>\AppData\Roaming\Adobe\Privileged\DC\Javascripts" and other variants I stumbled across the internet but to no avail. The app just doesn't seem to recognise my .js file no matter where I put it. The current build version of Reader DC for this device is 2020.009.20074 Please help.Thanks.
Dear Team, I am an admin and need to have a solution of Adobe Acrobat DC pro for attaching/embedding PKCS7 signature in PDF both generated at runtime at server level. Kindly suggest the integration document for achieving the same. Our application is developed in PHP. Would acrobat SDK and JavaScript help us achieve this? Kindly confirm. Thanks & Regards,Sameer
I created an appalert to show a message when the document opens. When opening the document, you do not see the document itself in the background under the pop-up message. It has two strange boxes in the background. However, if another pdf is already open on my computer when opening the new document it opens normally with the alert message in front of the document as desired. Am I doing something wrong? I have attached two screen shots.
I have fieldA and button with custom dialog box.How would I incorporate app.alert into dialog box so it stops dialog box to pop if value in fieldA is less then 5?I know how to make code for app.alert:if(this.getField("fieldA").value < 5){ app.alert("Need value of 5 or more");I don't know how to put it inside dialog box so it stops it to execute.
Hello, I'm looking for the Javascript to copy and paste in an Adobe PDF fillable form. I have two groups, Group1 with options A and B, and Group2 with Options C and D. I want to make it so when someone clicks Option B in Group1, then Option C in Group2 is automatically selected. I've done this before with checkboxes, but I can't seem to get it to work with radio buttons. Thank you for your help!
How can I access the 0-based index of an individual radio button or check box widget for a field that belongs to a mutually exclusive group of checkboxes? All the SDK documentation that I've read doesn't illustrate with a clear example of how to work around this if you use .fillColor or readonly . Can anyone confirm if this is a field versus widget attributes issue? In the script below, the condition works perfectly when I use the checkThisBox parameter, for example. However, I can't figure out how to achieve the same results with fillColor and readonly. Here's my script example: //I hve three mutually exclusive checboxes acting like radio buttons //each checkbox has export values assigned like "myCheckbox 0", "myCheckbox 1", "myCheckbox 2" // var g is a dropdown depending on what is selected the conditions below should be met var g = event.value; var f = this.getField("myCheckbox"); if ((g =="True") || (g =
mac OS Sierra, Dell 2155 cdn printer/scanner/copier Acrobat Pro dc was working AOK. Now scan get message "This operation is not allowed, since scanning is in progress." Acrobat Pro dc uninstalled, reinstalled. Problem continued. Help!!!
I'm having trouble combining two fields into calculating:var a = this.getField("field1").value;var b = this.getField("field2").value;if (a == "1" || a == "2" || a == "3" && b == "10"){event.target.fillColor = ["RGB", 254/255, 244/255, 175/255];}else event.target.fillColor = color.transparent;I also tried like this: || a == "3")&&(b == "10")it doesn't work"a" can be 1,2 or 3 but "b" also must be 10.
I would like to try and improve the readability of PDFs in Acrobat DC by changing the Display Theme from Light to Dark Gray. However the View Menu > Display Theme option is missing? I've tried running updates but there were none available.Ideas anyone? If this the wrong forum please direct me to the correct forum.
Hi all, I want to copy multiple text fields into 1 text field (basically trying to create a summary page) using check box. Please note that i have over 100 questions and towards ecah question there are 4 check boxes i. e Yes, No , N/A and N/I. Primarily i want the text field to auto populate for the incorrect answer.Eg,I have text field 1.12.1.1 with text abcd and check box Checkbox1I have another text fields 1.12.1.2 with text xyz and checkbox2 Now i have both these text fields to be copied into "findings" text field if both the check boxes are clicked as NOAt present i am using this code which works very well with one check box. When i copy this to the other checkbox finding is replaced and it shows only one text at a time var fFrom = this.getField("1.12.1.1");var fTo = this.getField("findings");if (event.target.value == "Off") {fTo.readonly = false;fTo.value = "";}else {fTo.readonly = true;fTo.value = fFrom.value;} Thanks for all your help
Loking for the javascript todo the following: I would like a field to autofill the word N/A or allow text in a field depending on the choice from a dropdown box. The dropdown box has 5 choices and each has a numeric value from 1 to 5. Example. If the choice from the dropbox is the 2nd choice, I want the field to automatically enter N/A in the field. If Choice 3 is selected, I want the ability to enter plain text. Thanks for the help.
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.