Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
Can someone correct my script?I have 4 people that I want to use a form, and when they type their names at the top of the form, it writes the same name and current date in a field at the bottom.This is what I have, but it's not working:if (event.value=="John Doe") { this.getField("Prepared by and date").value = "John Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="Jenny Doe") { this.getField("Prepared by and date").value = "Jenny Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="Joy Doe") { this.getField("Prepared by and date").value = "Joy Doe util.printd("mm/dd/yyyy", new Date())";} // end switch;if (event.value=="James Doe") { this.getField("Prepared by and date").value = "James Doe util.printd("mm/dd/yyyy", new Date())";}FYI I'm a novice. Thanks in Advance
I have a text field on my form labelled "M1" on my pdf. The value of M1 will always be a number ranging from 1-6. I have three additional text fields on the form labelled T1, T2 and T3.I would like the values of T1 T2 & T3 to change, depending on what number I type in M1 For example,If I type the number "1" in M1, i would like T1 =1, T2 is left empty, and T3 left emptyIf I type in the number "2" T1= "1-2" T2=left empty, and T3 left empty.If I type in the number "3" T1= "1-2" T2=3, and T3 left empty.If I type in the number "4" T1= "1-2" T2=3-4, &n
I've made a pdf of our colleges previous course catalog and for some reason it added links to pages outside of the path for the catalog. I need to search for pages that contain part of the url "/news" and delete them from the pdf. I've tried using a javascript, but nothing in the document is ever removed. This is what I tried:for (var p=this.numPages-1; p>=0; p--) { for (var n=0; n<this.getPageNumWords(p); n++) { if (this.getPageNthWord(p, n) == "/news") { this.deletePages(p); break; } }}
Hello,I have some questions, I would be thankful if someone could help me: 1- when I open the ActiveView sample from SDK (Adobe DC) on windows, the selected pdf is not rendering properly, Do I need to do anything to get it to work without any issue? and when I click on comments the application stops working. Here is the Screenshot. 2- How Can I extend the ActiveView sample to have the commenting toolbar (including the drawing tools like line and etc...)? 3- Can I add line to pdf file through SDK classes? 4- Can I Enable commenting toolbar in Acrobat ActiveX control or is there any other control from Adobe Acrobat pro to use with commenting toolbar enabled?Thanks,
Hi,Hoping you can help.I’m trying to get a specific result shown, with a particular font colour and background colour to the text field after adding up a calculation based on radio buttons.I can do the showing of the specific result (shown below, attached to a text field), but am struggling to go get the colour changes to work…can anyone help?var nResult = this.getField("Result").value;if( nResult > 26 ) event.value = “TEXT BLOCK 1. (27-36)";else if( nResult > 15 ) event.value = “TEXT BLOCK 2. (16-26)";else event.value = “TEXT BLOCK 3. (0-15)";Is it something to do with this? event.target.fillColor = color.#FFFFFF : color.#800000;I can’t work out where to put it so it works…Huge thanks in advance
I need a form field for typing in numbers (prices) to show the number with ".-" in the end if no decimals are entered. Fx. if "200" is typed is should be displayed like "200.-" And if the number is typed with decimals it should not do anything. Fx. if someone types in "199.95" it will be displayed likewhise.Also I need the seperationstyle to be displayed like "." even though someone types in a ",".I hope it makes sense.
I have created a PDF which has form fields and a worksheet on pages 1-3. The overall PDF has over 100 pages with form fields that require the same data (different for each project) repeated on multiple pages. So I don't type the data repeatedly on each page, I enter it once on the worksheet and use an 'Action' to run a JavaScript 'On Blur' to inject the data on all the appropriate pages of the overall PDF.The worksheet form field 'Action' JavaScript looks like this...// Data entered in this field will populate in the fields below.getField("field1").value = event.value;getField("field2").value = event.value;getField("field3").value = event.value;getField("field4").value = event.value;getField("field5").value = event.value;This example is only one of about 50 fields on the worksheet. As mentioned above this only works with 'On Blur'. That's all well and good if one was entering the data on the worksheet field by field, and if the worksheet was always part of the overall PDF. When working
КАК ОТПИСАТЬСЯ ОТ ADOBE ACROBAT?Поддержка не отвечает. В чат не могу написать, он на английском. Деньги снимает с карточки Digital River Ireland Ltd.
Is there a way to write a web application (asp.net) that load pdf file, read its fields, edit the fields and save the documents with a new name? The C# examples that exist in the SDK are not web example and used to open the PDF file. This behavior can cause a bed performance in web applications
I am using Adobe Pro DC. Thanks in advance for your help!
Hi All.In my PDF form I would like to calculate total hours between two date fields StartDate and EndDate which formatted like m/d/yyyy. And two time fields StartTime and EndTime which formatted like HH:MM. If StartDate and EndDate are the same so total hours between = 0. If startDate and EndDate are different (5/10/2017 and 5/11/2017) so Total = 7. For instance:StartDateEndDateStartTimeEndTimeTotal5/10/20175/10/201709:0013:004:005/10/20175/11/201709:0015:3012:30How to solve that problem?Thanks.
Hi,I have 2 questions:1) I do not understand how something which looks like a button (see Image from Action Wizard form) shows up as a type: "ok" as shown below. I need to understand what a type of "ok" even means and why it is not a "button" as it is with the Skip and Cancel buttons. I looked and cannot find an explanation anywhere, only check boxes, buttons, etc.2) Once I understand #1, how can I make it so that the user only has to click this "Apply Label" button once to execute the entire loop. Right now the user has to click on "Apply label" for every document open. I copied what I think are relevant parts from the code (see Excerpts of Code below).Image from Action Wizard Form:Excerpts of Code (with relevant text in red): { &nb
I need a simple to place a numbering sequence on a dynamic stamp. I have searched the entire web for 5 whole days and have found that I must pay $140 to get such a simple java script to simply apply a numbering system to a dynamic stamp that counts every time it is placed! Is there anyway to obtain a script that I can add to a dynamic stamp to simply number itself 001, 002, 003, and so on for each time I place the stamp on a pdf document?
I'v wrote a plug-in file (X.api) by Acrobat DC SDK. Could u tell me the steps of using MakeKeys.exe and SignPlugin.exe to identify the file and the fees if it's needed?
Can i convert pdf into a jpeg in Adobe Acrobat XI Standard
Hallo,https://acrobatusers.com/tutorials/using-colors-acrobat-javascript hier steht das man die Farbe convertieren kannaber bei mir funktionierte es nicht, er macht gar nichts. Muss ich da irgent eine Schleife bauen um jedes einzelne Objekt zu ändernoder wie löst man so etwas?var cmykBlue = color.convert(["RGB", 0.18,0.18,0.18],["CMYK, 10,0,0,10]);Danke für jede BemühungenGrußJürgen
This used to work for us, then suddenly started failing around March. After several horrific, frustrating 2-hour interactions with Adobe support (in which they have repeatedly promised to escalate the problem, but apparently have not), it's still not working.Here's the deal:Word 2013Acrobat Pro DCVery large files (the problem seems to start occurring around 700 pages; the document I am working on now is around 1800 pages)What we've tried:* uninstalling and reinstalling the programs* running installation repairsWe can run a PDF outside of Word, but we need to use the Add-in to tweak the bookmarks (we need to set Heading 7 bookmarks to be at the Level 1 heading in the final PDF). And yes, we could do that manually, but this has worked for years (like over 10 years), so why should we have to set things manually now after all this time?One thing I did do early on (back in March 2016) was back out a bunch of Office updates. This fixed the problem, but our IT has things set up so that update
Hello, i am reposting my problem because i dont seem to get any help and i am starting to become desperatehere's my problem:I had a adobe CC suite for a year but now reverted to adobe mastercollection CS6,installed the mastercollection, everything worked accept acrobat X pro. It keeps giving me a 130:11 error.It seems the distiller is working just can not use acrobat pro!I chatted with the helpdesk for hours and went to the forumsthis is what i already did:-deactivated, deinstalled CS6, downloaded mastercollection CS6 from the adobe site and reinstalled it (2x), still the same problem -downloaded programmanager 10.0 and updated it, still the same problem - deinstalled adobe creative cloud and reinstalled CS6, still the same problem - deactivated programs, restarted them and reactivated them, all programs worked but X pro still gave 130:11 error - i used adobe erase to erase all the programs af adobe, then reinstalled CS6, still the same problem.I am really getting frustrated, i n
hi, in my form Drop Down List available 50 items. i have found bellow code so as per bellow code i have to make 50 cases. updating 50 cases will take lot of time. is there any other code available that i can easily copy paste all the details??. i mean first i will copy all drop down options & then corresponding auto population options. thanks.. var sNewSel = event.value; switch (sNewSel) { case "ProductNo1": this.getField("ItemDescription").value = "blah, blah"; this.getField("Size").value = "blah, blah"; break; case "ProductNo2": this.getField("ItemDescription").value = "blah, blah"; this.getField("Size").value = "blah, blah"; &nbs
I am new to Java Scripts. I read several online articles and have had some success but the one I am trying to attempt is not working. I am on Adobe XI Pro.What I am trying is a simple algebra calculation E = A-(B+C+D). I didn't use the Simplified Calculations because my fields were named with Symbols and Spaces automatically when I created the document. I was having a problem with the calculation order here anyway.I have attempted this in two different formats - please see below but neither give ma a calculation. I am not getting any errors they just don't work.Can someone please point me in the right direction?
Can anyone lead me to a place to download Acrobat Pro 8?
I am using Acrobat Pro DC 2015 Release (continuous) Version 2015.017.20053 on Mac OS X 10.10.5. It is possible to modify the word "Untitled" as circled below to something else. Thanks in advance for any ideas on this.
I used a script to autopopulate physical and mailing address based on a drop-down selection from of location's name. If there is an exception for the mailing address, I would like to delete out what was autopopulated and manually type in the correct information. However when I tab to the next field, the autopopulated data comes back and what I typed in disappears. Thanks for your guidance all!
Hello,I am new to Acrobat Javascript and I would like to get some help on this:I have a pdf form where I have a Volume "VF" [liter] in one field and a Flow "Q" [liter/minute] in another field. In the third field I would like the calculation of Emptying time in seconds: (VF/Q)*60Now, I manage to get the formula right, but as you start to fill in the other fields, the Q field is equal to zero so you get a message that the stated value do not match the field format. I understand this has something to do with the denominator is 0. I googled and tried the Javascript below but it doesnt work. What is wrong?(all fields have the same format.)// Custom calculation script(function () { // Get field values as numbersvar v1 = +getField("VF").value;var v2 = +getField("Q").value; // Perform calculation if denominator is not zero (or blank)if (v2 !== 0) {event.value = ( v1 / v2 ) * 60;} else {event.value = "";} })();
Hi,I am trying to change the spacing using alignment properties but unsuccessful. I do not want these huge gaps between "Include Doc #" and "Enter Page Prefix" and "Include Page #" and "Include "of N" pages (see Image from Form below). I tried align_distribute, align_left, align_fill but no luck (see Code below). The output remains the same. Image from Form:Code: { &nb
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.