Questions
Recently active
I have been trying to set up dynamic page numbering for a fillable form I have created. There are several fields on the form that cause pages to either spawn or delete, so I am wanting the script to auto update the page numbers and the total number of pages. I have been researching this for several days online and have found several different scripts and none of them seem to work properly. This is the one that has made the most headway. event.value = "Page " + (event.target.page + 1) + " of " + (this.numPages); The problem I am running into is that when I use the event.target.page I get weird answers like "-1,21 of 4" then "-1,31 of 4" on the next page, etc. Does anyone know why the form is calculating this way? The number is increasing, I guess, on each page and the total number of pages is correct, but that number formatting is wrong. I have also tried this variation: event.value = "Page " + (this.pageNum +1) + " of " + (this.numPages); That script just
I'm having the worst time trying to find answers to this...What I have is a PDF document that consists of several individual forms. I want to set up the whole document so that when you open it, it immediately creates an options box that allows you to choose the form(s) you want, and when you click OK, it generates only those forms. I know how to code the appearance of the options box, but I have no idea how or where to code it to actually make it work. I think it's in the docReady event, but beyond that I'm stumped. I'm working in LiveCycle, ver. 11.0.1.[...]. Thanks in advance.
Hi All,I am looking into the feature for enabling/disabling share, export and auto save feature in Adoebe Acrobat Reader DC. I have been looking into couple of days. So far my findings are as follows,1. We could modify the registery keys to disable the Share feature by setting bEnableShareFile to 0. I set this property at "\HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\DC\AVGeneral".2. Hide the menu items by using app.hideMenuItem("Share File"); Both of the options are not working for me. I must be missing on something.Is it possible to enable/disable the share file, export pdf and auto save feature?Please note that I am new to Acrobat/Reader plugin development though I had some experience in photoshop, illustration extension development. Any help would be appreciated. Regards!
Greetings:I am working on an employee on-boarding packet with fillable fields and QR codes for scanning into our document managemet system.I have a seed page that captures name, address, etc of the new employee (completed by the HR Representative). These fields are repeated throughout the document and autopopulate becuase I use the same field names for each field; ie I have 3 FirstName fields, 3 LastName fields, etc..Information from the seed page is used to calculate QR codes with metadata for ultimate scanning into our document management system.Once the seed data is complete, I selectively flatten (the HR representative selects a button which performs the function) the repeating fields throughout the document so they can not be modified further. I also, or so I thought, flattened my QR codes, so it would maintain the image first created.I thought I had flattened the QR code as I included the field name in my list of fields to be flattened.As soon as my new employee types in anything
I require to make the number entered in the field look alike Rs.10,10,10,100.10/- as such is the indian currency format but i am unable to find any such separator style in which it can separate like indian style, can you provide me with some custom format script so that it looks alike indian currency format Karl Heinz Kremer
Hi, I am working in Acrobat DC and created a terms and conditions form used for clients to sign and return. One of the dropdown selections allow the client to either "Authorize" or "Not Authorized" us to use their credit card. There are several text fields, whereby the default is "Not Required", however if they select "Authorize", I want those text fields to change to "Required". I have tried custom validation scripts recommended in other posts, but when selecting the "Authorize" option in the dropdown, those text fields still DO NOT change to required. The current script I am using is in the dropdown field: this.getField("Name of text field").required = (event.value=="OTHER"); I have also tried similar script in each of the text fields, but to no avail. I also tried to use this.calculateNow(); in the document level javascript, but again, doesn't change text fields to required after the dropdown selection. Summary, any of the custom vali
Hi,How can I insert pages from one PDF file into another PDF file in the following way using Acrobat Javascript?Page1 of source PDF file will be insterted after page 1 of destination PDF file, page 2 of source file after page 2 of destination file etc keep inserting until last page n of source file is insterted after page n of dest file? (both source and destination pdf files have same number of pages) Thank you!
I am specifying the AVDocPermRequest callback as part of the _t_AVDocOpenParams during opening of a pdf document. Even though the callback is called for some of the operations like edit, annotate.. Some of the permissions are not being accessed or honored by most of the adobe tools as well. Few scenarios which are failing:PDPermReqOprOnline was working till the latest release and the adobe cloud was being disabled for the document, in the latest release even this is not honored, the upload to cloud and share a link are active inspite of denying this permPDPermReqOprUIemail was working in one of the old releases of Acrobat probably 2017, never seem to work on the latest DC release, i.e., denying this permission is not disabling the email option.Never could get compare and combine tools to disable its options inspite of denying all the permissions. User can easily extract pages and create new PDF these permissions are not honored at all. We are creating a plugin
Hi,I am creating PDF files using the Adobe PDF printer using a C++ program.I would like to lock the PDF to prevent further editing. Only changing of the content of the PDF to be prevented, the signing shall be allowed. I have to do it programmatically.Please clarify API to lock the PDF programmatically.Regards,Mathews
I have Adobe Acrobat DC (updated to 15.006.30119) being used with a Windows 10 system and a Chrome browser (updated to Version 48.0.2564.109 m). The Adobe plug-in is enabled and we can see the Adobe button used to convert a web page to a PDF. However, when when we try to convert any web page to a PDF via Chrome (selecting "Convert Webpage to PDF ...") we get an error notice "Conversion Failure" with no other information. When I try to use the same extension in Internet Explorer 11, nothing happens at all (no error message and no PDF created).Does anyone have any suggestions on how to handle this?
There is any way of moving a file or copy and delete it in JavaScript? I want to make a action that OCR the pdf file and after completion move it to another folder.. That would be very usefull. Thank you in advance
I have a PDF document with form fields that is 3 pages long. I have considered this my "Template". However, some users may need this template to extend up to 17 pages long sometimes and when I merge another page of course it duplicates because the form fields are the same name. How can I add similar pages but not have two particular form fields duplicate?
Good Morning, I am trying to revise a form that was created by a predecessor of mine which uses' many custom calculation scripts that are inter-related as a way of form validation. I am trying to add my own custom calculation script to a box (Box27b) that will require information to be placed into it per our standards. But, once I sign the document (IAOsign) I would like for that information to disappear/redact from the document, while still leaving the many other numours fields inside of the document in its read-only state upon my signature.
I have an acrobat form with 2 pages. Page 1 is interview questions with open-ended text boxes to record responses and page 2 has more interview questions, but the possible responses are in dropdown boxes instead of open-ended textboxes. A dropdown on page 2 ('Type') currently has a keystroke event to reset the entire form. Once you change the selection on this 'Type' dropdown, the entire document is reset. The keystroke event is : if (event.willCommit) this.resetForm() I want to reset the dropboxes on page 2 only, but leave the textboxes on page 1 untouched. How do I do this in Javascript?
Hey, I need help to use values from two different textboxes and show the result in the third box.example: Box1: 15 (adjacent)Box2: 115 (hyptotenuse)Box3: I need the sin angle Anybody that can help me with the "Math.asin" code for this? Thank u in advance!!
I created a form with 3 pages. I tried to have pages 2 and 3 as Templates and hide them. But when I create templates and hide the one related to page 2, I have an Adobe pop-up error "Paramètre erroné" and even if I click OK it won't disapear.I already tried to combine my PDF with a blank one and then delete the extra page but it didn't work. (Solution I found in Adobe Help)Since it took me 2 weeks to create my form and it has a lot of JS calculations, start again is not a solution. What are you proposing ?
Hi. I've got a problem. I'm looking for a way to make a two different font styles in one box. I managed to make a fillable form that has a default text like:[ company name ]when the user writes down his company's name the text disappears, or when he clears his data, the default text is back. That works fineWhat I try to do is to make a default text in italic style, while the user written text would be in bold style.Is it possible to achieve through some Java script? To make two different font styles in one box?Thanks in advance 😉
I have a batch of stamps I use for marking up documents in Acrobat, and see I can only do one at a time. I'm running the latest release of Acrobat on my Mac (Cataline). How can I add more than one to the Stamps palette? Is this possible?I'm more than comfortable running a Terminal command or dredging through the Contents folder. Thanks!
Hi, Is there any on-premise server side solution available to compare PDF files similar to the Acrobat desktop application ?
I am studying the Acrobat DC SDK Documentation, which states that I should register a four character prefix with Adobe for my plug-in. How is that done? Whom should I contact?
Hello Everyone,I need to implement a decision tree in a pdf. We need to ask a series of questions where the next question is dependent on the current answer and there are ten different question paths. At the end of a question path I’d like to send an email containing the user’s answers. Rather than using a pdf form to ask the questions, I’d like to present the question on a page with the answers displayed as images that when clicked takes the user to the next question. I was hoping to somehow capture each image clicked (i.e., the answer to each question) then email them to myself. I am trying to determine how to best build this solution this using Acrobat Pro. People would be answering the questions using Acrobat Reader. Could I call a javascript function when an image is clicked that saves a value (i.e., the answer) to an array then at the end send the contents of the array as an email? Or, perhaps I could use a hidden form whose field value
I am using Adobe Acrobat Pro XI to create fillable forms and collect responses. I have collected a large handful of forms and only half of them are importing properly into the response file. The other half give me this error message "Acrobat could not collect data from the file [FileName.pdf] into this response file. Either it is not a valid form that was completed and returned to you, or you don't have access rights to it.When I open the PDF itself in Acrobat Pro, I have not problem viewing the contents. However, it seems like it is not recognizing the sections of response fields that have text in them. I am not sure if that makes sense.I think there may be issues with some people filling out their forms on Mac and I am using Windows, but I need a solution that will allow me to meet everyone's needs.If anyone can suggest troubleshooting options or provide support, it would be most appreciated.Thanks!
We have several custom dyanamic stamps that our users use on PDF documents. They usually come out to be about 524x244pixels or 1.747x0.813inches, which is the page size of the stamp pdf itself (the 2nd page, first is 8.5x11 as per most stamps). Sometimes however, when placed on a incoming PDF they are sized down to a speck and have to be manually resized. Almost all of the time they get placed without issue at the default size... so it is difficult to readily replicate or identify the root cause. I checked the javascript on the stamp itself and the only code there is for the dynamic events (name & date). Nothing to indicate size, orientation, or placement coordinates. I haven't been able to find any other articles with the same issue. Thanks, if anyone has seen this sizing issue or knows how to prevent this going forward.
Hi,I am trying to validate a number field. The validate range function is great, but I have two ranges that a number can fall between. I need to validate the number as being .75 or in the range from 2.25 to 6.00. I have ZERO idea how to even start that custom validation script in Java. I've searched the community to see if there is something similar, but I am at a loss. Any help would be appreciated. Thank you!Scot Motzny
I need to create a javascript in form fields so that my page numbers will change automatically depending on number of pages i.e. Page 1 of 3
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.