Unlock the power of Acrobat SDK through our community.
Als letztes aktiv
in above picture there is a drop down menu with 5 menu items and a text fieldwhat is need is:when "Item 1" is selected then textbox1.text = "name 1"when "Item 2" is selected then textbox1.text = "name 2"when "Item 3" is selected then textbox1.text = "name 3"when "Item 4" is selected then textbox1.text = "name 4"when "Item 5" is selected then textbox1.text = "name 5"i want to control the textbox text from drop down menu item.I need javascript for this.Thanks.
https://ibb.co/dAAHoFPLEASE REFER IMAGE ATTACHED.I have a form, you can see the screenshot.there are multiple text fields (email ids) where user can enter email address.there are different email ids.and many buttons.when i click on "send mail" button,the form should be send to the email id which is in the text field.is it possible to send same form to multiple accounts in text fields at a time?and how to print a form using JavaScript.i mean,add button,go to actions and Run JavaScript.and now type javascript to print for,i know Execute Menu Item - > Print.but i want, custom script to print.
How can I reset the password I put on a document. I forgot the password and have tried everything.
Hi all.I'm pretty new to Javascript, but with a little technical aptitude and a lot of browsing on this forum, I've been able to create a somewhat complex form in Acrobat DC (Windows). The form functions as an interactive product ordering tool for office chairs. Initially, I setup the different chair options (fabric, headrest style, armrest style, etc.) in dropdown menus, with the selection auto-populating price/part number fields elsewhere in the form using both the export value and item name, along with document-level setValues scripts. For a better UX, I'm now hoping to switch to image buttons, where the user would click on an image of their chosen fabric and the same auto-population throughout the form would occur. For each option/image group, only one item could be chosen, just like a group of radio buttons. Is this even possible? Please let me know what additional information I can provide to help you help me. Thank you in advance for any assistance you're willing to give! !
I have two fields, one is calculated (text2) and the other has the user entering the data (text1). I want to compare the number entered to the calculated field. (The calculated field does not use the entered field in the calculation. Also, the calculation occurs prior to entries into text1) The entered number needs to be less than or equal to the calculated field. If it is not, I would like to un-hide a third text field (text3) - or I could use a popup alert. I do not want text3 to show until after something is entered into text1, meaning I don't want it to show before the user has a chance to enter a number.I've read through an assortment of similar posts but can't seem to find an answer that will work. It is unclear to me if this should be a validation script, a custom calculation, or added to an action.Any help would be greatly appreciated.
Dear allis it possible we can extract all text from a page of PDF with text location or coordinates by writing a script. Thanks
Can anyone tell the exact procedure to extract the coordinates of each word in a pdf file?
Hello. I've read a number of various blog posts but I'm still having trouble creating a dynamic stamp that will allow the user to just enter in 3 fields. I already created the image, saved it as a Stamp, and located the file. I then added the 3 text fields I need. I am just not sure where to even begin with how to write the code in Acrobat DC. The text fields are titled Text1, Text 2, and Text 3. The outline of the stamp is simpleUser: Text1 (I need to be able to type in various initials)Amount: Text2 (Just need to be free form to type in either a percentage or $ amount)Sent: Text3 (Just need to write a name of whoever I sent it to)Any assistance is greatly appreciated. Thank you!
I have a form with a StartTime and EndTime field formatted like HH:MM , and a TotalHours field formatted like (Number, 2 decimal places, separator style 1234.56). In that field I would like to display result of time calculation.I'm expecting to get such result:StartTimeEndTimeTotal Hours9:1510:301:158:3011:152:4510:0511:301:25Please help with JavaScript code. Thanks.
Hello,Is it any way to convert DWG-files (AutoCAD) to PDF in Black & White? Is it possible in the latest Acrobat version?In Windows Explorer, its possible to right-click and "Convert to Adobe PDF" on one or more DEG-files. But it's in color, and I can't figure out how to make it in Black & White like we need to have it.I'm working with AutoCAD LT 2015, but this issue is for non-AutoCAD users. I have tried to to set the locations for "Plot Configuration" and "Plot Style Table" like my AutoCAD, in Configuration Preferences for DGW-document, without any luck. Actually Adobe crashes when I do so.Thanks in advance.
For the first time my Adobe Acrobat X Pro does not open "Fatal Error" "Acrobat failed to connect to a DDE server" means? what I do?
Hello Adobe users,I have a question regarding automatic naming of fields. The PDF file has for example 100 fields. Is there a JavaScript to name them 1 , 2 , 3 , 4 etc?Kind Regards,Baran
I would like to step through the fields in a form (similar to VB's "For Each Field in Felds").......but I am confined to a C environment. I created an ActiveX controller for Adobe and for AFORMAUT. The code below works.......I just need to figure what to put in the "For" loop to step through the list of fields.....any suggestions? The ActiveX controller does not provide a lot of help......//Open Acrobat, Open File, Show AcrobatAcrobat_NewCAcroApp (NULL, 1, LOCALE_NEUTRAL, 0, &acroHandle);AFORMAUTLib_NewIAFormApp (NULL, 1, LOCALE_NEUTRAL, 0, &formHandle);Acrobat_NewCAcroAVDoc (NULL, 1, LOCALE_NEUTRAL, 0, &avHandle);Acrobat_CAcroAVDocOpen (avHandle, NULL, datasheetPath, "TEMP OPEN", NULL);Acrobat_CAcroAppShow (acroHandle, NULL, NULL);//Get Form Fields, Count, Get Value, IsReq, IsHidden, IsReadOnly, TypeAFORMAUTLib_IAFormAppGetFields (formHandle, NULL, &axHandle);AFORMAUTLib_IFieldsGetCount (axHandle, NULL, &fieldCount);AFORMAUTLib_IFieldsGetItem (axHandle, NULL, "UUTP
Hi,There is an issue with my javascript but having trouble identifying it. The script is supposed to find and highlight words I want to react, but must skip over anything that is already marked with overlaytext.This is what I have done so far ...- Using the "Actions" feature in Adobe I use the "Search & Remove" dialog to search for words I want to redact.- I then run the below JavaScript to highlight the words found in yellowvar colHilite = ["CMYK",0,0, 1, 0]; // yellowvar oDoc = event.target;var aAnnts = oDoc.getAnnots({sortBy:"Author"});for(var i=0;i<aAnnts.length;i++){ if (aAnnts.type == "Redact") { if ((overlayText
Hello, I want to implement plug-in for font embedding. Is there any method to call font embedding from preflight through coding using Acrobat SDK. Please help me.Thanks,Sowbhagya
Hello there,i would like to use the adobe pdf reader com components in my application to show pdf files, which is selled to our customers.So I read a lot about licensing in this forum but my answer is still not clear. So I explain my steps:1. I added a Windows Forms UserControl to my Application, then added Adobe PDF Reader Com-Components to the UserControl. (VS 2017)2. When i perform step 1 , two libraries are automatically added to my project, AcroPDFLib and AxAcroPDFLib.When I Compile my project now, these two dll's are copied to my Debug/Release folder. To Run the Appliaction these Two libraries are needed.I dont't want to deliver Adobe PDF Reader at all, i just want to deliver these two dll's do my customers. If they have Adobe reader installed, fine it will work and pdf files are shown with Adobe Pdf reader, if not installed, a webbrowser control will just offer to download .Pdf files instead of showing them.Is there any need in this case to license it? The two libraries are usel
Hi there I got a fillable pdf created by livecycle designer. Spaces of most textfields are limited to the preset value (i.e., 150 characters). Can I use javascript to set the default font size to 12pt and if the input text exceeds the textfield area, the font size will be automatically set to "auto font size" but not less than 8pt. Is it possible?? I know I can set the font size to auto font size by setting the default font size to "0pt". But in my case, the default font must be 12pt and the minimum is 8pt. Is it possible??Thank in advance
Hi,I am using a template to add pages to a document which works fine. I have some (48) field calculations to check a box if an input value is between a certain range. It works fine on page 1. I know it is not working because the field names in the calculation do not change with the new field names generated with the new page.Here is the script I am using on Page 1:var drop = this.getField.("InputText7");var check = this.getField.("CheckBox1");if(drop.value >= '0' && drop.value <= '0.25'){check.checkThisBox(0,true);}else{check.checkThisBox(0,false);}Is there a way to use this page and a field containing a part of the name in the calculation as going forward the fields on all the pages will contain "InputText7" and "CheckBox1" but with P1 and the name of the template added to it etc.I am using Adobe Acrobat Pro.Thanks in Advance.David.
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
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.