Unlock the power of Acrobat SDK through our community.
Récent
Is there an easy way to disable focus on all fields that are read only and locked in the entire document, essentially moving the focus to the next field in the tab order?
Sometimes my pdf documents contain some Field objects of type textbox which are not visible to the user and were used to hide some sensitive text underneath them. In javascript, I will find these Fields and their coordinates and then create an Annotation object with the same coordinates to highlight position of the Field object to the user. The problem is that when the Annotation object is created, it gets hidden behind the Field object (it is placed behind the Field object). If I delete the Field object or set its hidden prop to "hidden" then I can see my Annotation. How can I see the Annotation without changing the state of my Field object, ie, how can I create it on top of the Field object?
With the older version of Acrobat Pro I use the batch processing to protect several PDF files in one time.With Acrobat Pro DC (CC 2015) I can only protect PDF file one by one.Did I miss something?Thank you
I have two fields where information is entered. When the numbers are calculated, I would like for the last digit of each entry to not be included. How do I accomplish this?Entry 1 is 1.23452Entry 2 is 1.23437Should be calculated in a new field as 1.2345 - 1.2343 (the two and the 7 are dropped off, respectively).
I have a form that asks questions with different possible answers to click on. Now when the answer is checked i need to have that field to equal a certain number. Then these totals would be added up for a complete total. For example: 1 question is:What is your age?____ (1) 56 and over____ (2) 46-55____ (3) 36-45____ (4) 20-35So if you chose 56 and over then that would equal 1 but if you chose 46-55 then it would equal 2. This field needs to be a text field i believe or a button but then the totals can calculate to a Sub Total from all questions. Help
Hello everyone,i've been searching and trying a lot of things but it just doesn't seem to work for me, maybe because i just started using js in adobe.In one dropdown menu i select (for example) a car type (VW, BMW etc.). Based on this, the selection possibilities of another dropdown(containing all types of car models for all car companies: golf, X3 etc.) shall be narrowed down to certain models(only VW e.g.). Any suggestions? I know how to get the content of the first dropdown via "getField" but hiding/unhiding or adding/removing in the second dropdown is the problem.Thanks!
I need to insert a document containing several pages into another document after every certain amount of pages.For example, my destination document is a 200-page document containing 100 2-page letters that I have to print out. Each letter will contain two enclosures that are in a source pdf file. Currently, I have to drag and drop the source file into the destination file behind each individual letter to get it ready for printing.I have been trying to write a script that will do this tedious work for me, but I am so green and I'm running into so many roadblocks. If anyone out there can point me in the right direction, I would greatly appreciate it.
Hello!I need to create an interactive PDF. I am a graphic designer and I do not know JavaScript.In my PDF document I want user to enter his russian phone number in format +7 (111) 111-11-11. Here "+7" is russian country code and it should be exactly like this.I understand that user might try to input "+" or parentheses or he might forget to press spacebar or accidentally hit some letter. So here is what I want exactly:1. User can not type anything but digits. When he types any other symbol nothing happens. No warning or any other thing.2. When user clicks on the field and inputs any symbol then this symbol should be changed automatically to +7 and an opening parenthesis should appear.For example: user types 7 then this 7 gets replaced to +7 (3. When user continues and type local area code like 963 the closing parenthesis should appear right after he types digit "3". At this point he should see +7 (963)4. When user types next three digits a hyphen should appear. For example
I have a group of 4 text fields but only want to allow user to fill in 3 of them (at user's choice) and if user tries to fill in the fourth, don't allow.Thanks in advance
Hi,I am encountering an issue with working with 16 + digit numbers. I have a script that converts the number from figures to words. However I use a math.floor calculation on the figures to separate out the decimals it rounds incorrectly. Is there a simple way to deal with such long numbers. Or am I going to have to deal with this in the scrip and take out the Quadrillion values and compute them separately.Would share the script but it is on my work computer.
We receive many PDF invoices from suppliers. I would like to provide our A/P folks of quickly adding a blank page to the document with an approval stamp with the following fields: account no, approval signature, received date, processed data, and description. I would then like users to be able to request signatures from other users through Acrobat DC.I apologize if this has been asked before. I wish I could contact Adobe sales and support for this information, but they don't have an email address listed. I would happily pay for support if I knew who to contact. There are no email addresses listed anywhere. I'm not sure I want to spend the day waiting on the phone.
Hi,Adobe PDF version may keep varying depends on the customer..Hardware - VM Server with good configurationRequirement / Scenario (PDF may be application form based or native text which is generated by the system)Tabular data without border (border less)Checkbox data in all different formsspecial charactersText inside the ImageFree text (like signature)Solution Tried:We are using C# code through which we have tried to read the data from the PDF for the above scenario and didn't get the expected output.we used ITextSharper library and used the same from C# to extract the content.Any other library or suggestion would be really helpful.
I have used insert page from a document containing document level javascripts.This loads the document level javascripts into a new PDF which is a great way for users I support to add special functionality into their documents.The latest example is a JS that adds a date/time stamp as a button to the footer of each page. The requirement is however that this be triggered on the WillPrint document action. Unfortunately document actions do not seem to be respected in the new PDF from the imported PDF.I have tried adding this as a document level JS without the function wrapper but it does not set the trigger in the documentthis.setAction({cTrigger: "WillPrint", cScript: addDateStamp});Any suggestions that will allow for adding the functionality to the PDF without the user having to manually edit or add document actions...ThanksBen
Hi!! I am creating a PDF for my primary students, I´m teaching them Additions, and I´d need them to move pictures (addens) from side to side. Is that possible with some script? If not, I´ll try showing and hidden buttons. Thanks!!!
Hi. I have Adobe Acrobat DC and SharePoint 2013. I need to send shared reviews using those two things. I have done this a thousand times before but since DC came out and SP was "upgraded" it's all messed up. I have a library waiting to receive the review documents on SP; but when I try to send them through the tool "Send for Shared Comments" I'm told "The file destination provided is not valid." I can't see anymore how to provide what they are asking for as I used to do in Acrobat 9. Does anyone know what to do? By the way, when I look in Preferences, "Shared Review and Form Data Collection" is set to "MySharePoint Workspace (send as link).
The form I'm working on has 30-some row with multiple similar calculations per row, so I'm hoping to make life easier for myself. Each row has its own prefix for the field names and the rows contain (mostly) the same fields.I have the following simple calculation:if (getField("rowSomething-FieldName").value=="Yes") event.value = getField("rowSomething-Number").value * getField("rowSomething-Price").value;if (getField("rowSomething-FieldName").value!="Yes") event.value = "0";rowSomething-FieldName is a checkbox, rowSomething-Number contains a quantity and rowSomething-Price contains ... a price.What I'd like to do is declare a variable that equals rowSomething and then call that in the calculation. That way, when I copy & paste the code, I only need to edit the row's name once instead of 4 times. I'm no coder, however, so I can't get it done and most examples I've found are much more complex than this.
I'm trying to create a form with:1. a series of numerators and denominators to calculate2. if the field is left blank, it is not included in the calculation3. the calculation to be updated in real time, and not wait for each field to have a number in it before it calculates.This is the only calculation in the form, so changing the calculation order is not used.In the document javascript, I have this.calculateNow();and in the custom calculation script for the field, I have (function () { var v1 = +getField("Text1").value; var v2 = +getField("Text2").value; var v3 = +getField("Text3").value; var v4 = +getField("Text4").value; var v5 = +getField("Text5").value; var v6 = +getField("Text6").value; var v7 = +getField("Text7").value; var v8 = +getField("Text8").value; var v9 = +getFiel
I have two fields that I am multiplying in Acrobat CC (text4 * text5). This represents the total my company will pay towards holiday gifts for sales reps, but this amount can not exceed 250. So even if the results is more than 250, the answer can not show more than 250.
I'am trying to round the sum of two fields in Adobe Acrobat to the closests 1/16th or 0.0625? I am not familiar enough with javascript to create a custom script.
For sumbit form to outlook I would like no named email to be default. I would like the PDF to attach to outlook then I type the email address on outlook, as the email receiever will be different every time
I have created a from where by I make a selection from a dropdown list and it puts a sentence into a text field from the export value. I am using the following code in a custom format script that someone helped me with.var f = event.target;var pos = f.currentValueIndices; //position sélectionnéethis.getField("Speaking").value = f.getItemAt(pos, true);I want the text field to be able to add a second or third line of text from a different dropdown menu. I this possible?Currently the new selection will just overwrite the previous selection. Each dropdown menu has 5 options- limited, basic, sound, high, outstanding and I want a different sentence to insert for each selection. On another post someone told me to do a custom calculation script for the textfield as follows:var v1 = this.getField("Speaking").valueAsString;var v2 = this.getField("Writing").valueAsString;if (v1=="sound" && v2=="basic") event.value = "Speaking sound outcome\nWriting basic outcome";But to do this I would ha
Where is AVExtensionMgrRegisterNotification, or AVAppRegisterNotification ?I am working on the first Adobe Reader plugin, and wondering where the APIs such as AVExtensionMgrRegisterNotification, or AVAppRegisterNotification are from?On Windows, I looked into all the Adobe Reader DLLs, such as AcroRd32.dll, but cannot find any exported functions like above.So how can the plugins access these APIs, if they are not exported in any DLLs?Thanks
I have made a calculation for a field:this.getField("Rental Year 3").value = (this.getField("Rental Year 2").value * (this.getField("Annual Increase").value /100)) + this.getField("Rental Year 2").value;However, I only want the calculation to apply if another field (Lease Term) has a value greater than or equal to 3. If the value is less than three I would like this field to equal 0.How do I add this condition?
HI! I´d like to show some hidden buttons by clicking a visible one, but I just manage to show the buttons all at once. Can you help me??? Thanks in advance!!
Hello EveryoneThank you to everyone in this forum, I have found everything most helpful. Great community. I am struggling though at the moment, with understanding the Javascript Reference Manual for Acrobat DC.When a page opens I have a Javascript automatically run.What I want it to do is print the last 2 pages of the PDF silently to a non default printer.This is what I have so far. Can anyone tell me what I'm doing wrong or wether this is even possible?I am not sure even where to state what pages I need.this.print({bUI: false, bSilent: true, bShrinkToFit: true});var pp = this.getPrintParams();pp.interactive = pp.constants.interactionLevel.automatic; pp.printerName = "EPSON XP-442 445 Series";this.print(pp);Thanks everyone for any help.Kindest regardsJon
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Vous avez déjà un compte d'utilisateur ? Connexion
Pas encore de compte ? Créer un compte
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.