Unlock the power of Acrobat SDK through our community.
Recently active
I am trying to create a form with a set of radio buttons. I want the RB for the "True" answer to fill in (the background of the RB) green with the checkmark, the RB for the "False" answer to fill in red. On screen it looks like it perfect. However, when I print it, every RB shows the background color regardless of whether it's been selected or not. What did I do wrong or what do I need to add?
I am reading text from a table. Is it possible to understand that the characters being read are in different cells of the table?
I have a form with fields that have been filled using Excel VBA. I want to lock the form down using Excel VBA code (more than just setting the form fields to read only). I have found two manual solutions: 1) Set Document Properties to Password Security and restrict editing assign a password and not allow any changes. 2) Print my completed form selecting Adobe PDF as my Printer. I have not been able to find a way to code either of these options. I would greatly appreciate help with either approach and/or some third option that achieves the same goal of a completely locked PDF generated using Excel VBA. Thank you!
UPDATE: I don't believe there is a solution to this. I ended up changing my scripts and eventually hit a coding solution that worked through a save/open. I have no idea which change "fixed" the form. Oh well. ------------------------------ I used Acrobat Pro DC 2015.006.30508 in Windows 10 to create a form that has 40 fields with custom calculation JavaScript. When I finish creating it and run it, it formats and/or populates 120 fields in about 12 seconds. When I save, close, and re-open the form, the form slows to an unusable crawl. I have to kill Acrobat from the task manager. It also kills Acrobat Reader 2017.011.30156. I have done this three times, now, and taken video evidence.I work for a big company so neither I nor my users can update Acrobat or Reader. The form works perfectly in FoxIt reader, and takes only 1.5 seconds to populate the form, but that, too, is not an option for my users. I need these versions of Adobe products to work.Help! What do I do?!
I have a PDF form I am trying to populate information the same way I already got it's matching spreadsheet to do. I just have no idea how to translate that over to the PDF. Both the PDF and the .XLSX are atteached. Basically the form has 2 columns, Primary and secondary. The primary is user input, they put a value in each field in the column. Each line is labeled 1-20 then continues with A-LThe secondary column matches up certain ansers from the primary column and puts them together in each line. The secondary column notes 3-5 primary column fields it needs to grab that info from. Example, line 1 has it's primary field, then in the secondary column it notes A,B,C indicating that that field should have the answers from the primary fields of A, B, and C. I know nothing about Javascript, but it's become obvious to me that's the only way to do what I want. Would you guys be able to help me with a formula I can plug the appropriate field values into?
Let me start by saying I do not know any coding at all. I'm new to Adobe Pro and I'm trying to create an Adobe form that will be used as a timesheet. The form will have multiple fields where the user needs to enter total hours worked in a day (one field for straight time, another for overtime, another for comp time, etc.). I want to limit the fields to only accept numbers between 0 and 24 in increments of .25. So for example, 8 or 8.25 or 1.5 or 2.75 are all acceptable. If an invalid number is entered, I would like an error message to pop up saying to enter time in increments of .25 and the field to reset to blank. I found code on the internet that worked beautifully but would require me to code every quarter increment between 0 and 24 (including variations such as 1.5 and 1.50 and 2 and 2.0). And the one form has 77 fields (bi-weekly timesheet tracking straight time, OT, Comp Time, vacation, sick, etc.) - I would imaging having 77 fields with that extra long code would just cause
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);}
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.