Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
If there is some fields like the following, is there anyway (maybe using API or SDK) to get the position of the fields (for example left 47.52 pt, ...) and the name of the field (in this case Text1, Text2 and Text5)? I would like to export these information into a text document or XML.
Hi Experts..its my first time to deal with the Global Object inside the Acro Form, because its also the first time to work with 2 pages in form not only 1so i noticed that calculations in the page 2 not working..the code is here , is just Text Field Formatted as Percentage Number that will show the Amount of Check Boxes (if Checked by the user) as Percentage..I write the following code in (Custom Calculation Script) inside 16 (Text Field with the Same Kind) in every pages of the two, because every one of percentage is responsible for monitoring 20 Check box Group in one row repeated in 16 row (as Shown in the Loop), this code was working fine until i add the second page, its still working in page 1 of the form but it stopped working in page 2CallPeriod();// Initialize counter variablevar sum = 0; // Loop through the fieldsfor (var i = 1; i<=20;i++) {// Add one if check box is not Off if (getField("A" + i).value !== "Off") {sum += 1;}} // Set this field'
Hi all,I've asked a similar question before: How to use external data to fill in an existing PDF form in JavaScript? Also, I learned these two links as references: Batch-Import Excel Data into PDF Forms - KHKonsulting LLC Batch-Import List Data into PDF Form - KHKonsulting LLC But I still have some questions because I don't have JavaScript experience before, still a beginner now. Any help and suggestions are appreciated. What I would like to do is put the "username" and "age" to a fillable pdf form. I've already written some JS script.==========================================================var userInfo = { // data source userOne: { name : "Max M", age : "100"}, user
How can i calculate age in a form based on the birth date that the user will input?
Hey Everyone, Hoping someone can help me with this as I'm new Acrobat forms. I'm trying to populate dropdown list values in an adobe acrobat form via Javascript. Basically looking to populate it with the Current Year, and two years after it. So option values of 2018, 2019, 2020. I'm not sure how to achieve this where the dropdown is populated when the PDF is opened. Would this be done at the document level javascript ? And if so how is this initiated ? This is what I have so far (Not sure if it's correct): var d = new Date();var y = d.getFullYear();Dropdownlist1.setItems([y, y + 1, y + 2]);Any help would be appreciated, thanks.
I am trying to create a java script to auto populate a shipping rate when using Forms. I am very new to js, and just trying to improve some forms for work and make them fill-able on our website. If its possible, and someone out in Adobeland could help write I would greatly appreciate it. What I would like is for the "Merch total" field to auto-fill my "Shipping and handling" field. Our shipping rates are as follow:$0.00 to $39.99$10$40.00 to $74.99$12$75.00 to $99.99$15$100.00 to $199.99$17$200 and up$20Thanks in advance!-B
Apologies in advance...newbie here...I am creating a form where I would like for the following to occur:The field is "Position Type" and has three options: Permanent, Temporary, Variable(I have not yet decided if I want radio buttons or a dropdown; only one selection can be made)If Temporary or Variable are selected, I would like to display text next to the field.If Permanent is selection, nothing should happen.I created the layer that has the jpg of the text I want displayed and positioned it.I've searched around the forums, web and youtube for some script that I could adapt but haven't found anything.If you someone could guide me to a resource that could assist, I would be deeply grateful!
Hi all,I've got a question which is : I have data from a database, now I need to use the data to fill in a PDF form?To be more specific, for example, there are "name", "phone number" and "address" fields in my database, I want to catch these data to fill in an existing PDF form. The PDF form also has these three fields. I have no idea about how to implement in JavaScript. Really need some help.Thank you so much for any suggestion.Cheers,Max
I am led to believe that there is a Adobe Professional plug-in that with the right scrip will auto open scanned documents and OCR them saving the file in the same folder.Does anybody know what this product is and can it be used on different folders in a network structure or do you need multiple instances for different networks?To whom it concernsThis process of trying to contact Adobe to get information is the worst experience i have ever had on a vendor site. I would have expected the process to be simple and elegant. Very disappointing for such a global company!
I made an illustration (Illustrator) with a page size of 17" x 22", saved to a PDF so I could print on a different computer (no Illustrator) that has access to a device that can print 11 x 17". I wanted to poster print on two 11 x 17" pages, landscape mode. Using Acrobat Reader DC (2015.016.20045), I selected Landscape orientation in the Print dialog. When I then select Poster, the orientation is ignored and it wants to split my document across four portrait pages for a total size of 22 x 34". This gives extra seams, and a lot of excess white I'd have to trim. How do I get my document to poster print on two landscape pages?Apparently this isn't a new issue: Adobe Reader X poster print module (Print Production) The answers there didn't seem to indicate an understanding of the problem.(I'm running Windows 7 Enterprise and printing to a Sharp MX-5111N.)
console.println (this.documentFileName+"\t"+this.numPages)I have more than 1000 pdf files and I need to know how many pages each one can do without having to open them some code that prints the result in a pdf or in a txt file thanks for helping I'm desperate
Hi I am not new but this part I am not familiar with in Adobe Acrobat Pro. I have taken over these forms from someone else in our company. I warn this is probably a loaded question, any help would be appreciated!We have a form that is broken up 5 sections similar to the section below:Some History on the current form. The Dropdown boxes (LA1, LA2, LA3, LA4, LA5, LA6) are all referenced to "SectionComplete" (which is defaulted to "NO") They must all be filled (Yes, No, N/A) for "SectionComplete" to change to "Yes". When "SectionComplete" for All 5 sections reads "Yes" there is a field near the top of the form that changes from "NO" to "YES" (default = "NO").My question is this: I wanted to find out if it was possible to create a new Checkbox that would saying something along the lines of "Is this section Necessary", and if the box is checked, the section is hidden and the "SectionComplete" header is marked "Yes" as if all of the drop down boxes in the section had been completed (li
I have a script that extracts and renames files that have been extracted.What I require is during the process I wish to add a page to the beginning of the extracted Files and have it say something like, "Part 1 of 2".var re = /\.pdf$/i;var filename = this.documentFileName.replace(re,""); try {for (var i = 0; i < this.numPages; i+= 5) this.extractPages({ nStart: i, nEnd: (((i+4)>=this.numPages) ? this.numPages-1 : (i+4)), cPath: "/K/Penta/Split/"+filename+"_" +"Pages_" + (i+1) + "-" + (((i+5)>=this.numPages) ? this.numPages : (i+5)) +".pdf" }); } catch (e) { console.println("Aborted: " + e) }The Script extracts
I have a form with a lot of fields in it. Some are required, some are not. How do I write a script for a button that will check all the fields and alert the user if any remain to be filled out, or that the form is complete and they may sign off before submitting to their supervisor for review?
I use the Adobe Reader (XI, DC, 2017, 2018) and programmed a third party plugin for it. Now I'd like to convert the open stream, that is appeared in the pdf viewer activex control of the used internet explorer.I experienced with AVDoc, PDDoc and ASFile, but nothing works. Does anyone have a solution for me?Is it even possible with Reader?Greets,Alex
Hi, recently I read SDK of the Acrobat and I learn about Accessibility,I learned that I can add Tags with Command:app.execMenuItem("Adobe:MakeAccessible");But, I would like to learn how to Remove Taggs too Somebody can help me?Thanks
I need a way to wrote code to read through a pdf and change the chart bar color (when it is brown, I need to change it to orange) and was wondering if there were an SDK with that cabilities. I would like to automate this with some 'C' language so I could launch this after another application. [Here is the list of all Adobe forums... https://forums.adobe.com/welcome][Moved from Reader to Acrobat SDK... Mod]
Hey there,I'm using Acrobat DC and have to highlight text in a document in different colors.Is it possible, using JavaScript, to highlight selected text (I have to select the text manually) in a given color?I think of a script which is highlighting marked/selected text blue, an other script yellow and so on.Yes, I can change the color of the highlighting tool, but i think I can be faster using a js.In short: I want to select text, click on the button and it should be highlighted in blue.Is that possible? sorry for my bad English.
We have a .NET application that creates, views and prints PDF reports, and would like functionality for that without any extra (no adobe popup windows, preset adobe buttons, etc). What would be the cheapest Adobe SDK/product to buy that supports this?
Is there a script that will enable me to enter a postcode to then be presented with a list off addresses to select? Can You connect to the royal mail postcode search system?Thanks.
Hi,Is there a solution to achieve, conversion from pdf to word rendering and integrate in my application using c# code, dll, exe.
Hi expert...I was developing new form of (Attendance Statement), I have 16 group of Check Boxes (in one page) , Every Group is about 20 Check boxes because it represent the Month without the Week ends!, The Problem is that code work very good inside (document JavaScript ) so i call the function from it to every checkbox, now i tried to delete the function from the Document java script because every page is 16 Trainer name, and if i add another page and i will do that, that mean that i have to write 32 function to be called from 32 group!, so i want everything to be simple if i could, also the (return) not work inside the button java script and it give me error (return only work in function), the main problem of the code that its warn me but it doesn't reset the check boxes,,, any help will be appreciated , thank you // Initialize counter // for First Trainer in First Page it will Start (A) &n
How to compare two pdf field names?If the fields names are different then change them to be exactly the same.If the fields have scripts or calculation then change them also to be the same.Thanks,Norbert
Hi there,I've been reading through an example in the Acrobat JS Scripting Reference regarding dialog creation.Having worked forward from some code in the reference I've managed to generate the following dialog:I've been able to manipulate the example to list more 'options' in the text field and change some of the buttons etc. All works fine.What I'm working towards is listing all the form fields, on a page, as the options in the list in the dialog above.I've found a great function for creating a list of fields, on a given page, which works perfectly. It's really useful.function getPageFields(doc, p) {var fields = [];for (var i=0; i<doc.numFields; i++) {var f = doc.getField(doc.getNthFieldName(i));if ((typeof f.page=="number" && f.page==p) || (typeof f.page!="number" && f.page.indexOf(p)>-1)) fields.push(f.name);}return fields;}getPageFields(this, 0);Here's where my knowledge is limited. What I'd like to do is create an object (or list, here I'm not sure) from the
Is there a way to send messages from the broker back to the plugin?For now the only way I can see is the output parameter for a cross call. This is not working because the broker gets asynchronous requests and has to send the information to the plugin.I'd like to send messages from the broker to the plugin in the same comfortable way like sending from the plugin to the broker. Is this possible?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.