Unlock the power of Acrobat SDK through our community.
Recente
I want to open a pdf, read from it, but keep it hidden from view. Can this be done?
Hello. I'm creating a stamp. The stamp directly shows a form to collect some user data text. In addition, I want that stamp has a image (it's a signature scanned) of the user. I was triying to do in several ways:1) Set a image field, that directly loads an image preestablished in the folder user, trying to establish it with this code ( unsuccessfully) that I got form issue https://adobe.ly/2XuHQM4trustedImport = app.trustedFunction(function(doc) { app.beginPriv(); var f = doc.getField("Image8"); f.buttonImportIcon("C:\Users\cesar\AppData\Roaming\Adobe\Acrobat\2017\Stamps\beard.png"); app.endPriv(); }); trustedImport(this);The I get Error:NotAllowedError: Security settings prevent access to this property or method.App.trustedFunction:278:Field Text5:Calculate2) Set a image field, but allowing the user to chose the image from a browser. For this I need a button on the form, that opens a browser and chooes the image and the set in to the image field. Tryigin to disco
I'm trying to create a visible character counter that has a default start of 1. Currently, the first letter I type displays as 0. Here is the script I have in my keystrokes: if(!event.willCommit){var nChars = event.selEnd - event.selStart;var aFull = event.value.split("");aFull.splice(event.selStart, nChars, event.change);var strFull = aFull.join("");var aWrds = strFull.split(/\s+/);\this.getField("Text1").value=event.value.split("").length} I'd also like the counter to revert to 0 when the field is empty.
I need to extract text content (within paragraph or table) from a PDF. The extraction should be in the form of objects so that i can get the exact content from PDF. So, Am looking for API/library that can be integrated with my application. Suggest me ..Thanks for your support.Regards, Ajay
Hi, I am trying to develop an incremental dynamic stamp for Adobe Acrobat. I have seen codes of different people from the internet and tried to modify them but they mostly work on the same document. When I stamp, on the next document, they again ask for a starting number and it is of no use for me. Is there anyone who have developed the stamp or can help me understand the way I can do it by myself.
Good afternoon to everybody.i'm trying to find out how to solve a problemi've a form with several dropdownlist for clothes,and the point is :if in the first dropdown list (gender) you choose if you choose female,the second one (size) should have XS,S,L. on the contrary if you choose male,the second one (size) should have these values R,L,XL,XXLand a third one (skirt size) should be not visibile.i know (thanks to this forum) how to make invisible a module,but how i can change its values ???thanks to all.fabio
I have a fillable form and have created the three buttons listed in the subject. I am having issues with the Add Page button and Clear Page button working the way I need too. When I click "Add Page" it creates the new page but it copies all the data from the first page.JavaScriptcar a = this.getTemplate ("Name"); a.spawn(); When I click " Clear Page" it clears the entire document not just the page I'm on when I click the button.JavaScriptif( app.alert({cMsg: "Are you sure you want to Clear",cTitle: "Reset Warning",nIcon: 2,nType: 2}) == 4) {this.resetForm();} I am basically attempting to add a new page to the document that is the exact same as the first but is blank. I need the buttons to work independently from page to page only affecting the page the button is on. For example if a user needs to start over on page 5 without having to redo pages 1-4 they can click the button and start over. I have no clue what I'm doing any help would be appreciated.
How I can install adobe acrobat reader on my Macbook air? Every time it start installing it stop I dont know the reason. If somebody now let me know.
Just got back from uninstalling Acrobat DC on another 3 user's systems and reverting them back to Acrobat XI. It's like a virus - once a user hears that it's actually possible to revert back to XI, they all want to revert. I personally hated Acrobat DC, I think it's harder to use, it's simplified interface causes more grief then it solves, it buries important things under layers of commands, and the bright white interface / contrast issue is a hilariously awful design decision. I gave it a few weeks and got rid of it, but as a sysadmin, I'm also not using it as much as my users who are constantly working / editing / signing / combining PDF files.I feel like I'm missing something that DC must offer my users, but they all universally hate it. I am curious if anyone else has had this experience with DC or find it in any way better than XI?
Hi, I am in need of assistance writing a custom calculation script for a field.My form includes two fields that include a low and a high value, and another field that has a total value. I need a script to show me the variance if the total value falls outside of the low or high. If the total value falls within the range, it should just say $0.00 Example: Range is $2,000.00 to $5,000.00 and the Total is $5,500.00. I need it to return $500.00. Can anyone help me with this?Thank you in advance!
I have three dropdown lists that all have information. I am trying to figure out if there is a way to limit the selections of the second and third drop downs based on the selection of the first. So if i have options A, B and C in dropdown 1 and AA, BB, CC and DD in drowpdown 2 how do i show if you select option A to only allow you to select option BB and CC in the second one, etc. Thanks.
I have a user-input form with a series of questions that have 4 differently ranked answers for each question. No duplicate ranking is allowed. Example Question: "My favorite food is:" Rank these possible answers from 1-4 in order of preference: Apple; Ice Cream: Fish; Wine I'm using Acrobat Pro DC. Can I create a script under either Calculate or Validate that would make this work? If so, what would that be? If not, any suggestion? I have created 4 dropdown boxes for each of the 4 form fields. They are named: Dropdown1a, Dropdown1b, Dropdown1c, Dropdown1d. I would create/name the remaining fields as Dropdown2a, Dropdown2b, Dropdown2c, Dropdown2d, and so on. I don't use JavaScript, but here's the simple script that I thought might work:if(Dropdown1a) not= (Dropdown1b)if(Dropdown1a) not= (Dropdown1c)if(Dropdown1a) not= (Dropdown1d) Any help is much appreciated. Thank you.
Hello, please, I have a Button and I need to fill in the Text Box with some text after clicking on it.What code do I have to type in the action on the button when I want to insert text (may be in code) into the text box? Thank you very much.
Is it possible to add a "signature" field that is actually intended for a custom dynamic stamp? Our process is to approve documents by adding a signature and an official stamp assigning a number to it. We have a custom rubber stamp we typically use for this, but I want to make it possible to be done via adobe sign remotely due to the "stay home" COVID-19 restrictions. I know how to create the dynamic stamp. I can't figure out how to create a form field for placing.
Is there an efficient way of getting the word under the mouse using the Acrobat SDK? I have seen some discussion of using AVPageViewDevicePointToPage, enumerating the text elements, then doing a hit test using PDEElementIsAtPoint. Of course, this is probably not so efficient. Any tips much appreciated. I would like to make a simple dictionary lookup tool that responds as you move the mouse.
Hello, I am trying to get a field on each page to show a total of the number of buttons on that field's page that have a specific caption ( "X," "(X)," or "OUT OF TIME"). My goal is to be able to paste a copy of this field on each page with a unique name and have it work without needing to change the code. So far my field just displays "1" whether the criteria are met or not, and doesn't update when I change the button captions. (The buttons are set to cycle through a set of captions when I click on them.) By default, all buttons' captions are "", but after clicking, the captions will cycle through "X," "(X)," "OUT OF TIME," "OK," and back to "". I'm not great with "for" loops yet, so I'm not sure what I'm missing. for (var i = 0; i < this.numFields; i++) { var f = this.getField(this.getNthFieldName(i)); var reg = /btnOriginal/; var count = 0; if (f.pageNum == event.target.pageNum && f.name.match(reg) && f.buttonGetCaption == "X" || "(X)" || "OUT
Hi. I am making a Dynamic stamp. I need to collect multiple data inputs from a form, and shows in the fields of the stamp. The code shows a dialog box every input, which is annoying: this.getField("Name").value = app.response("Name"); this.getField("Corporation").value = app.response("Company"); this.getField("Invoice").value = app.response("Invoice"); I was triying with something like that, but it just gives me one input.... var oDlg = { strName: "", initialize: function(dialog) { dialog.load({"usnm":this.strName}); }, commit: function(dialog) { var data = dialog.store(); this.strName = data[ "usnm"];}, description: { name: "Test Dialog", elements: [ { type: "view", elements: [ { name: "Enter your name:", type: "static_text", }, { item_id: "usnm", type: "edit_text", char_width: 15 }, { type: "ok_cancel", }, ] }, ] } }; this.getField("Corporation").value=
I have a document that is used for filling out FEMA flood certificates. Part of the document is set up so that when we use the address as the file name appended with -CD , -UC , or -FC it ignores anything after the dash and fills in the box for the street address. Is it possible to adjust this so that the address still completes and have the part after the - activate a radio button that changes fields that are calculated and read only to uncalculated fields that require a number to be entered.
I have a 2 page form with buttons. 2 of the buttons have the ability to spawn a new page when selected. If both of these buttons are selected then the form go from the initial 2 pages to a total of 4. My question is that I have a clear form button that when pressed I want any and all spawned pages remove to reset the form to the original 2 pages. When I enter the script below it will remove one of the 2 pages, but not both. What am I missing? if (numPages > 2) {this.deletePages(2, this.numPages-2);}
Hi Team,Can Anyone provide the sample code to AddSticky Note Annot to Existing PDF File using VBA code using Acrobat SDK(JSObject).ThanksMahesh
Hi,After several researches, I discovered that there were a lot of interesting functions in Adobe that I could use for my project, but I discovered that these functions (like for example saveas ()) can only be used on the Adobe console, is it possible to use them elsewhere? in my case, I would like to use them in Google Cloud Functions with Node.js ?! Thanks
Ok. Could someone please help? I've been tasked with taking an excel order from and creating a fillable PDF. Here is where I lose it. I need to create a calculation with user filled amounts that calculate sum and a discount.Subtotal + Misc Amount + Shipping Costs = Final TotalDiscount in percentage will applied to final total.The calcualtion for the final total I get if there is no discount. The discount is a user filled field that may or may not apply.If there no discount then the field need to be empty. If the user inputs a number then it must show a whole number with the percentage sign and calculates the final total.Any help would be great. I'm a scripting noob.
I have 10 Dropdown boxes all named "satunsat.#" (# is 0-9). I want to count the number of "SAT" and "UNSAT" answers and provide a percentage. The percentage is no big deal I already do that in a couple of other fields. But how do I get it to count those answers? Also I use "-" for my blank value and not all 10 dropdowns will be used. It varies depending on information available. So sometimes I will have 6 total answers, or 5, or 10 or even just 2. -SATUNSAT
I'm on macOS Mojave, version 10.14.6 and using Creative Cloud Adobe Acrobat DC version 20.0. Where the eff are Dynamic Stamps/Created Stamps stored on here?? I'm trying to create a dynamic stamp, and every tutorial I've found says where to find the stamp files but so far that spot does not seem to exist for me. There's gotta be a better way! UPDATE:Okay, of course, I found it immediately after posting this question. Here's the link that helped me solve it, courtesyof Adobe Community Professional Thom_Parker, in case anyone else needs it: https://www.pdfscripting.com/public/Installing-a-PDF-Stamp-into-Acrobat-Macintosh-and-Windows.cfm
I have a PDF document that has a mailto: link inside. When I click the link I am presented with an Outlook email to the recipient but I want to add the document as an attachment in the process. Suggestions
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Você já é cadastrado? Entrar
Ainda não tem uma conta? Crie uma conta
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.