Unlock the power of Acrobat SDK through our community.
Recently active
Hello, I am trying to create a fillable form where the user enters a dollar amount in three seperate fields: "cost A", "cost B", and "cost C". I then have a fourth field ("subtotal") that adds "cost A", "cost B", and "cost C" together. The fifth field is where I am struggling- I need the fifth field ("tax") to calculate the "subtotal" field by four percent or 0.04. I need the "tax" field to show a dollar amount, for example subtotal field equals $100.00, the tax field should calcualte 4% of the subtotal field and show $4.00. The very last field is the "total amount due" which would be the sum of the subtotal and tax fields. What is the best way to accomplish this? Thank you in advance 🙂
I have a acrobat form with a drop down with 3 customer types: Company, NPO, Individual. I also have several drop downs on the same form that might be dependent on my customer type selection. For example, if I select Individual, I want some drop down boxes to have a dash -, because that particular question does not relate to individuals. I manage to do that easy enough. However if I select Individual and I change my mind to select Company instead, the dash - stays in the field. How do I write a code to remove the dash as soon as a change is made from Individual to Company, without having resetting the entire form.
Hello,I am trying to create a visual basic script to insert information from an Access database into a fillable pdf but due to my company's security settings all pdfs open in Protected View. I'm wondering if anybody knows of a way to "click" the "Enable All Features" button by way of coding - preferrably in visual basic if possible. I am unable to install external software to make this happen.
I would love to be able to use Windows 10 Command line or powerShell to access a file at a given path: @"c:\a\bout_to_share_this.pdf" and using a flag "/L" create a share link: "https://this_link_was_made_in_cli:urn:trackmyarse?US/HeXiDeC" and stdout it | or pipe it anwhere like a clipboard | clipDoes this already exist? I have refrenced the stack overflow topic here which was informative but still no solution:https|://|stackoverflow.com/questions/619158/adobe-reader-command-line-reference Thanks and have a great day.
Is it possible in Acrobat to automatically create/insert bookmarks when a particular string (ex: Order #) is encountered? I am trying to create individual work order files from one large PDF file (using Split Document into multiple files using bookmarks), but I need to create bookmarks each time the string "Order #" is encountered. Because the pages vary based on the work order specs (drawings, material needed, instructions, etc.), this text string is not located in a predictable spot on each page. Once the "Order #" is found, I need to insert a bookmark that includes "Order #" and the next 9 characters that come after it. I know how to do it manually, but there could be 100 or more orders in one file. Any help is greatly appreciated...thanks!
I have field1 and field 2, on field 1 I have app.alert to limit me from entering specific value from field 2 even though field 1doesn't calculate that value when alert pop itstill change value in field2. What I need to do so when I get alert that field2 stay same and doesn't change it's current value?
is it possible to create a bigger response box in Java Script Thanks
I'm brand new to Adobe programming and I'm trying to automate the conversion of an Excel worksheet into a PDF. I need to add a footer and, through Google research, found out how to do it using "addWatermarkFromText". Now I need to add an image to the header so I guess I'll have to use "addWatermarkFromFile". I found out though that that function needs a "trustedfunction" wrapper and I don't know how to create one. Apparently, you create the trustedfunction and save it to a particular folder. Does anyone know how to do this? Thanks very much for any help.
Where can I find the SDK documentation for addWaterMarkFromText and addWaterMarkFromFile APIs?
Hi, I have an Acrobat JavaScript that deletes pages in a document based on the absence or presence of an annotation on the page. I developed and tested it with Acrobat Pro. Will these kinds of scripts work with Acrobat Standard 2017? Thank you.
I have a form which have one Text Field, one Check Box, one Digital Signature and button control.For Text Field and Check Box control, I am able to validate the value and setfocus if value is not provided on button clicked. But for Digital Signature, how can I open "Sign with a digital ID" pop up (as snapshot attached here) if document is not signed on button click. I don't what to sign the document using javascript. Is there any way to open "Sign with a digital ID" pop up directly using javascript if Digital Signature field is available in pdf?
Hi,I used below code for read Annotation comment from the pdf document using acrobat pro 11 . But I need to read Annotation reply comments also. Any way to achieve this?.var annots = this.getAnnots({nPage:1,nSortBy: ANSB_Author,bReverse: true});console.show();console.println("Number of Annotations: " + annots.length);var msg = "%s in a %s annot said: \"%s\"";for (var i = 0; i < annots.length; i++)console.println(util.printf(msg, annots.author, annots.type,annots.contents));Thanks,Kesavan R
Trying to have an alert pop up only if two conditions are met. The script is running On blur for the text box. First condition is the text box and second is a check box just before it. Right now the message is popping up everytime we tab to the text field regardly if the conditions are met. if ((this.getField("EthnicityOther").value.length == 0) && (this.getField("Other1").value = "on"));{app.alert("When Other is selected, please enter a description.")f.setFocus()}
I have field "points" that shows value 30/30, and 3 other fields(C1,C2,C3) for entering values which then substracts from field "points".How do I make it so field "points" can't go bellow 0, it only allow up to 0? for example if I want to enter 31 in field "C1" itdoesn't allow me.INFO:Field "points" have default value of 30 and use custom calculation script:var a = this.getField("points").defaultValue;var b = this.getField("C1").value;var c = this.getField("C2").value;var d = this.getField("C3").value;var x = a-b-c-d;event.value = x + "/30";It doesn't allow me to enter "Field value is in range" which I could use to solve my problem, I can only enter custom validation script.I also have 3 buttons each for fields C1,C2,C3 with dialog boxes where user input numbers which is then writed to fields C1,C2,C3. I think that I need custom validation script for field "points" but not sure how to write one.
I have create new action using Action Wizard in Adobe Acrobat DC. Is there any way to call this new action using javascript? My requirement is to create custom menu, which can call this new action. I am following this link for custom menu https://acrobatusers.com/tutorials/add_custom_menu_items/
Hi, I am trying to create a form where there is an "effective date" and then once that person fills that in(it will be in yyyy/mm/dd format), the next field is autocompleted to be 1 year from that date. I am new to any custom calclutation script but I believe this is what I need. Thank you so much for any help.
Hey guys I'm new here and I'm a complete novice at Javascript. I'm a designer that wants to get better at coding. I'm trying to add a numeric value to the checkboxes in the 'size' row. Each of the 6 checkboxes will have a different value. Those values will be added together and multiplied by the values that will be inserted in the 'quantity' and 'colours' rows, to get a total. So the total at the end should be something like size(s)*quantity*colours. I'm currently stuck at applying values to the checkboxes. I've been at it for about 2 weeks now (seriously) and haven't figure it out. I used arrays to group the checkboxes as seen in the code below. I can check which box is ticked, but I don't know how to apply values to the boxes and only calculate boxes that are ticked. Any help would be greatly appreciated. Thanks var estimate = this.getField("estimate"); var sizesMale = ["male_small","male_medium","male_large","male_xl","male_2xl","male_3xl"]; var quantit
Hello All, I'm calling my web Service from the Submit button. I'm sending as a FDF include Comments. when I'm calling it as physically click on the button it's sending comments, but when I tried to call it with Java scipt it does not include coments/Stick notes. I have tried the below method: var myURL = "http://localhost.../"this.submitForm(myURL, null, "HTML");this.submitForm("http://localhost",true, false,"");//var cd=('http://localhost');//this.submitForm(cd,"Comment", "#FDF"); Can someone please help me.
All file already completed
I'm getting missing before statement, Do I need to separate +* and how do I do it?event.value = Number(this.getField("field").valueAsString)"+"+*6+"%";
Greetings,We have hundreds of pdf files that we would like to protect them individually with different password and send them out individually.Is there any solution provided by Adobe to accomplish this task?Scenerio: Finance/Payroll Dept would like to go green and save monies by sending employee's non-negotiable pay check in PDF format and protect them with a password that employees provided. We need to be able to do in batch for hundreds of employees.Can anyone shed some lights on this?Thanks,
I have just recently downloaded Acrobat DC Pro because I was told it came with the SDK and the SDk could handle the task I was looking to perform. The bottom line is I am trying to index a PDF file without opening it in Adobe acrobat. I have spent the better part of the week researching this and I'm struggling to make a lot of progress, so I have a few questions.Can someone point me to some examples of using the SDK to index a PDF file. I'm not a javascript or C# developer but have enough programming experience to figure it out once I get started.Best suggested way to accomplish my task? Javascript? C#? Plugins? or Windows Interapplication communications?Lastly? It only looks like I can create a full text catalog (pdx) on the PDF file through the SDK - is that correct? Why did adobe change to have embedded indexes diabled by default?Sorry for the ramblings but any help / suggestions would be greatly appreciated.Thanks ,Joe
In Adobe Acrobat Pro DC I have designed a fillable survey for clients. At the top is a generic text that I would like to have customized. The generic text reads "Custom Residence" and is on every other page at the top. I was wondering if there was a simple way to manually change the first pages text to a respective clients names and have that update the same on all other pages? Summary. I'd like to update text on one page, and have all other pages reflect that same change.
Hello everyone, I created a PDF fillable form for Spanish users, but when I try to type in Ñ/ñ on he Acrobat reader it wont allow me I type the universal command which is ALT+ 164/ALT + 165 and nothing. Is there a way to prevent this beforehand when creating the form in inDesign? I used a font that does include the chracter and it does work while in inDesign, but not in the interactive pdf.
How can I measure the margins of a PDF document? I need to be able to inspect many documents (100+) to see if their margins comply with requirements.
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.