Unlock the power of Acrobat SDK through our community.
Recently active
Hi, I must preface that I cannot change the design or function of this form.There is an excel column of salutation containing mr, mrs, miss, ms & dr; that I’d like to transpose into the fillable PDF into four checkable boxes "mr, mrs, miss, ms" and "other" fillable input field (dr): I’ve grouped them under "Salutation", but they cannot be individually named as form fields to delineate them and the fillable field "other" cannot be grouped/linked into the salutation. The script would interpret the excel "Salutation" column and check the box thusly:Is any of this possible? The next two fields are a work/home number:The excel column contains the 10 interger number with the 2 integer prefix followed by the rest of the number containing 8 integers.How can I link these two separate fields so that the first field transposes only the first two numbers (prefix) followed by the second field with the next 8? Lastly is a single integer percent value wi
I have a PDF that is displaying a 3D object. There are some other fields that I would like to hide/show/relocate on the click of a button and expand the 3D area to maximize the viewer size. The Annot3D object exposes a rect property similar to a property that fields/buttons expose. When trying to set the rect property on the Annot3D object, it does not resize. I follow this same process when resizing/relocating fields and buttons and it works just fine. I have confirmed in the documentation that the field is both readable and writable. If I select the frame while using the "Prepare Form" tool, I can resize it manually, but that does not work for my use case - it must be done programmatically. See below code sample - the code works for altering the display state of the list box and the placement of the button, just not the sizing of the Annot3D object. This code lives in a MouseUp event for the button. var a3d = getA3d(this); // returns Annot3D object console.println
How can I set the DuplexType Property of PDF to Duplex Flip Long Side using Acrobat SDK preferrably through Javascript or IAC using VBScript?I am generating a PDF which needs to be set to Duplex mode by default, no matter even if it gets overridden in print dialog.Can it be achieved through PDDoc.SetInfo() method? If yes, what would be the InfoKey and its value?Is there any other approach to do this?
I am concatinating two fields with a text string using the following as a custom calculation:event.value = "Words" + this.getField("D1").valueAsString + this.getField("F1").valueAsString; Field F1 is actually a numeric value. I would like to chnge the fomrattign of how F1 appears for readinility. Something as simple as making it bold would be enough, but also increasing the font size would be good as well.I do not want to change the formatting of "Words" or D1 so I don't think I can do with global formatting.Is it possible because F1 is a number I could use soem conditional statment to bold only numbers in event.value?
Hello,I am creating a diagnostic tool for PDFs and the output from the diagnostic tool is a tab delimited file. I would like to use Javascript to add a flag for whether or not the document is read only. By read only, I mean any of the following:1. If you go to the location of the PDF file, right click on the icon of the PDF file, click Properties, and then on the General tab in the Attributes section at the bottom, the Read-only checkbox is checked. 2. The file is open by another user3. The file is lockedWhat has not worked is the solution offered in this post:Determining if PDF is read onlyappRightsValidate({nValidateOption: 1}); Any ideas are appreciated.Thanks,Chris
Hello everybody,I am creating a form with a text field named as "MOTIVATION". I want a warning to appear if the number of characters (including letters, numbers and spaces) is less than 1000 characters when pressing save or close buttons. The warning will be like; THE NUMBER OF CHARACTERS IS LESS THAN 1000.DO YOU WANT TO CONTINUE? YES / NO Any help will be appreciated. RegardsVahap
Running this script in a custom calculation in a text field: event.value = "Words" + this.getField("Number").valueAsString; Would like the value for Number to come out as bold but not the "Words" portion.If it helps the "Number" is always a numeric value so don't need to get it as a string. Was wondering if that could be used to have it show as bold, that is, can the value type be used in a cusotm format script to make only numbers bold? Thanks all for your help. (P.S. thought asked this question last night, different wording, but is was 3am so maybe not)
I'm trying to put down numbers for a tax return, but I can only use whole numbers. What gives? Why can't I put down anything such as $100.59? Why does this have to the all whole numbers?
I have a button that when clicking it it will Prompt for a password, once the password entered correctly this action should be taken -Lock different Fields -Hide the button -Display Text the fields locks successfuly others are not switch (resp) {case pw:getField(f_prefix).readonly = readonly;getField(f_prefix2).readonly = readonly;getField(f_prefix3).readonly = readonly;app.alert("The fields are now " + readonly_desc + "ed.", 3);Button1.style.display = display.hidden; //hide buttonPartG.IA.Text1.style.display = display.visible; //Show Signuture break;case null: // User pressed Cancel buttonbreak;default: // Incorrect passwordapp.alert("Incorrect password.", 1);break;}})();
I have a piece of script that was run by a mouse up event within a button field that used to work on a previous version of Acrobat Professional on a Mac (I may have had to change a setting or something to get it to work but I can't for the life of me remember what). I have upgraded to Catlalina and due to non-64 bit software being allowed I am now using DC but I am now getting a security error. The script and error are below, if anyone could help resolve that would be appreciated. On Mouse Up run javascript a = this.getField("HiddenText").valueAsString; b = this.getField("RelevantIcon").valueAsString; console.println(a+b); event.target.buttonImportIcon(a+b); Console message:/Macintosh HD/Users/xxxxx/Desktop/001.pdf NotAllowedError: Security settings prevent access to this property or method. Field.buttonImportIcon:4:AcroForm:Button1:Annot1:MouseUp:Action1
Is there a manual way to add "Ax*Lib" reference other than the following link suggested ?https://tfs-app1.asi.corp/tfs/DefaultCollection/TAM/_build/results?buildId=663503The way how to add a "Ax*Lib" reference depends on the type of project.On a WinForms project:1. Just open any form class in the designer view.2. Right-click on the toolbox and select "Choose Items...".3. Select "Adobe PDF Reader" under "COM Components". (if it is not there, then it is not properly registered in the Registry)4. Click "OK".5. Place the new toolbox item on the form.Now you automatically get the reference to "AxAcroPDFLib".I have never found an alternative way to add these types of references.
I am unable to open Acrobat reader I have had it on my computer for 4 years and a dialogue box appears telling me an error has occurred with this code 930368 then I am unable to access any of my files
I've created a PDF form in InDesign using the Digital Signature form field, but that field's requirement to create and configure a Digital ID will likely be confusing and onerous to users, and that level of security is unnecessary in this case. I would prefer a behavior like Acrobat Reader's "Sign document by typing or drawing a signature" > "Sign" > "Add Signature" where the user can just generate and place their typed or drawn signature in the proper spot. I've read elsewhere that functionality may be achieveable by replacing the Digital Signature field with a button that uses JavaScript to activate that tool, but I don't know the right syntax to activate that tool. After a ton of searching around, I've tried:app.execMenuItem("OpenApp_FillSignApp")... on a button's Mouse Up event, but that doesn't want to work. As may be obvious, I don't know JS nor how to attempt debugging. Ideally, I'm hoping clicking/tapping that field would be able to go straight to the
It's hard to believe that this is such a hard question to find an answer on. I regularly have to scan 5-10 pages at once but I need to name and save them each as an individual PDF file. When I scan all documents at once, I get a 10 page pdf file. I know I can then extract the pages to a file - but then I need to open them one by one to see what they are and name them.When using Windows Fax/Scan, I can set it up so each page is its own separate file, but it doesn't handle PDF's....The only other option that I have, is that the scanner I use supports blank page recognition. So if I separate each document with a blank piece of paper, it will automatically separate each PDF. This is just a little cumbersome.Is there another way that I'm missing?I just want to scan 10 pages and have it show 10 files that I can name and save individually... Possible?
The answer I found here: https://answers.acrobatusers.com/Help-adding-number-increment-instance-reset-button-q96703.aspx was beyond my technical knowledge. I'd like to know first how to create a form reset button and then have it increment the previous number on save and close.Where/how do I add the Javascript code?
I am creating an Adobe Form for the managers to use to create contracts. Basically, on one of the pages, there is an equipment list that they have to select from dropdown lists. At the end of the document, there are pages based on the selection on this list that outline more details on the equipment. What I would like to happen is: They select the equipment from the list, and it auto- adds the page at the end.
Hello, So in my form, I have a checkbox that toggles show/hide of an input text field. If the box is checked the input field gets hidden and when its not checked user can input text. But when I check the box and click the reset form button i have added on my form, the input field stays hidden and does not reset to be visible again. How to I set it back to be visible once I hit the reset button? I have created the reset button by creating a button and adding an action to it to reset the form. Can anyone please help me with this Thank you!
I need the difference between 2 dates in three different field:In first field : it should in Years 2nd Field : it should be Month, 3rd Field : it should be Days For ex- First Date: 14/05/1998 second date: 18/04/2019 difference should show 1st Field: 20 years 2nd Field : 11 months 3rd Field : 04 days I searched regarding this on this community and found few scripts, accordingly i converted the full difference in milliseconds.. an
Hi - I have a button on a form which will change color based on a selection from a pop up menu activated by clicking the button. So, click the button, select one of the 5 options and depending on the option selected the entire button will fill with a set color. I have been able to create the pop up menu as I need it, but I cannot get the resulting action (color change) to work. New to this so would appreciate your help getting the final piece to work. Thanks. var c = {'Home':['1,0,0'],'Motor':['0,176/255,80/255'],'Marine':['84/255,141/255,212/255'],'Commercial':['246/255,132/255,38/255'],'Home Essentials':['1,128/255,1'],}var n = new Array('Type of loss:');for (var i in c) n.push(i);var result = app.popUpMenu(n);if (result) {this.fillColor = ["RGB",c[result]];}
When i tryed save pdfs(app was 10 gb) to google drive docs and data getting huge without control. Docs reach 20gb but my storage 16gb. I checkd the app there is no new doc its seems compleatly normal (aprx. 10gb) but storage say acrobat is 20gb. Apple suport wouldnt help. My ipad cant open any app because of this problem. Alos when i try delete something, acrobats docs getting more huge.
I'm building plug-ins for Acrobat Reader on Mac, unfortunately the reader-enabling tool Sign, isa universal binary for i386 and ppc. There's no 64bits! Since I'm using macOS 10.15 the signing tool cannot be used! Any idea where / when can I get a 64bits signing tool for mac? $ file Reader-enabling\ Tools/mac/SignPluginReader-enabling Tools/mac/SignPlugin: Mach-O universal binary with 2 architectures: [i386:Mach-O executable i386] [ppc:Mach-O executable ppc]Reader-enabling Tools/mac/SignPlugin (for architecture i386): Mach-O executable i386Reader-enabling Tools/mac/SignPlugin (for architecture ppc): Mach-O executable ppc
Hello, I am working on an Adobe PDF Form and believe I need a custom script for a calculation table. I have no JavaScript experience at the moment and am hoping someone can help me with a formula so I can complete a project. We have a table in a form that is supposed to calculate a discount. The field for the formula in question is a rebate field with a maximum value of $4,000. The field calculates the # of blocks multiplied by $1,000 with a maximum rebate of $4,000. How do I write a formula that returns the rebate amount if it is less than $4,000 (e.g. $1,000, $2,000 or $3,000) and only displays $4,000 if the rebate amount is equal to or greater than $4,000? I hope this is understandable and please forgive my ignorance. Thanks!
I have already created a Form, but the issue here is that the form has to be sent to many people for Approval. Each Approver has a specific clearance Section of the Form. the Query here is that they need to fill their sections with the required comments and email the form back to the sender. the sender has to then send the form to the next Approver. is there a way that if the approver fills certain fields they get Auto readonly while the other fields that are not filled remain fillable. Note All the Approvers have only Adobe reader so cannot use Create and Distribute. Whats the best way in acrbat because if I use buttons any one can click the button and it get readonly is there a better way
I have a page with a grid of checkboxes -- columns and rows. I'd like a field to the right of the row that gives me just a total of the number of checkboxes checked across the row (checkbox1, checkbox2, checkbox3, checkbox4, checkbox5). I realize if I want to total up the row's checked boxes the calculation would be the same as if I checked a column's checkboxes, the only difference being how I indicate which fields are being counted conditionally. Anyone that can help me with this? Thanks in advance!
I am writing a plugin that makes uses of the redaction capability in Acrobat.I am able to create the redaction, and apply the redaction.Currently, I can change the overlay text, and the color shown once the redaction is applied. Is there a way to change the color of the overlay text in the C++ SDK? Notes:- I am using the PDRedactParams struct to specify the annotation properties (Acrobat _t_PDRedactParams struct documentation )
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.