Unlock the power of Acrobat SDK through our community.
Askettäinen
I wrote the following JavaScript that runs when a customer "MouseUp" (clicks) a radio box. It requires them to fill out a field when the "yes" box is checked:f="Explanation";e="Yes: custom design";tField=this.getField(f);if(event.target.value==e){tField.required=true;}else{tField.required=false;}"f" is the field in which the customer types their explanation, and "e" is the "yes" checkbox. The script is run through the "properties" of the "yes" check box.My issue is that there is also a "no" box as part of the radio family. So, when the "no" box is clicked it "un-clicks" the "yes" box. Unfortunately, this does not "un-require" the explanation field. Can someone suggest an edit to my JavaScript to make this happen?(I apologize if my explanations are poorly worded. I am very new to JavaScript)
I have a writ table pdf that has a lot of calculations and JavaScript in it. I've made many of these in the past and now I'm having an issue with one of them where it will not email. Any ideas?
I've been debugging a crash in an application which appears to stem from the Acrobat Reader ActiveX components, when Acrobat Reader DC 2017 is installed on the computer. The application is a native Windows application written in C++, but I cannot easily create a sample project for it (inherited code base, not my forte), but I'm getting the same error (Structured Exception) from a simple test/repro project made in C#.In this specific crash instance, it appears that the key step is performing any key press operation, within the control, after loading a document. This brings up the special tools in the right-hand side of the viewer's control area.The sample C# repro project can be downloaded here: Dropbox - AcrobatReaderCrash.zip , and the steps to reproduce from it are as follows:Start the application, with or without debugging enabledClick on either of the "Load" buttons, at least once, up to however many you'd likeClick within the viewerPress the "Esc" keyClick the load buttons again,
Hi all,I'm in the process of batch adding metadata to PDF documents in Adobe DC.My script is working for all the default elements like Title and Subject, but I'd like to be able to add the key value (name, value) pairs for custom properties as well, but I can't figure out how to access the custom properties to write to them.Can anyone help me out with this?
Is there a way to use a button control, (or with) javascript so that when selecting the button control the data in the form dynamically updates a row in an Excel spreadsheet?
Hi,I got a request of one page PDF document from my client via email.In the bottom, I'm having a submit button where I need to attach the PDF into outlook and that part has been done. When I click the submit button new mail is generating, but I need to attach the pdf file by replying to the original Client email. So, for that I need to find the email subject which the Client has sent.I want a javascript code to do this work.Kindly assist me by sending the JavaScript code.Thanks in advance.
Hi all,I am creating a component for a server based application where we take an existing PDF and want to apply encryption.The certificate used to apply the encryption can be identified but I need help which Adobe component to be used best and which calls to be used best in a C# .NET 4.0 server application.All users have Adobe Acrobat Standard installed on their machines.ThanksDaniel
I need to be able to add and place one or more TIF images into a page in a PDF and save it as PDF/X1a. I am using Acrobat DC and the JavaScript interface right now.I have tried successfully creating a Button field where the image should go, and then use importIcon() to import the image, and buttonSetIcon() to insert it into the field. But, I don't want a button field in the PDF.I have also successfully tried using addWatermarkFromFile which works great with one problem: The image has a transparency property and because of that I can't export to PDF/X1a.Any help is appreciated.
Sorry before hand I'm new to this, this sounds like something I can use. I have several PDF forms that I have to sign but it has to be signed on a specified line like line 22. Is there a way to do this.Thanks
I have dropdown list in my form and would like to change the color of the font for one of the five selections how would I do this?
I am having issue of jpeg,png files not coming while browsing image in adobe reader. I have developed the same using adobe acrobat pro. While browsing image jpg,jpeg png file type select option not coming. The same works in both adobe acrobat pro and foxit reader. // Mouse Up script for a button applied event.target.buttonImportIcon();
IF check box 8 is checked, then rating15 will populate with value from text46How do I do this?
I want to get leading plus sign while fetching value from a text field in adobe acrobat pro. I have typed (say +326777) in the text field, but on fetching the same, getting 326777 instead of +326777. I am fetching the text field data as below:getField("txtNum").value;
Hello all, what I need with is a javascript button that will enable me to click it and the result will remove the amount from the calculation, click it again and the amount that was removed will be added again.Let me explain what I'm trying to do. I am creating a form that shows the total of material costs, then adds a percentage markup to the material costs from a drop down. Then I have a field to select the labor for the job. I'd like to have a button to remove the labor to see only the material costs by itself. Then click the button again and the labor total would be added once again without having to re-type it in. Would someone have a javascript that would help me do what I want? I hope it can be done. Thanks.
We need to get specific data from tables from PDF-files, is there any way to convert all tables in the copiable PDF-files to processable and formated tables(doc/xls/etc.) by patch ways.Many Thanks! !
I am working with an Adobe form, and need to format a field to select a value from one of three other fields. The other three fields have dropdown lists from which to populate the individual fields, and I need to be able to select one of these three values to appear in the fourth field. Data in these fields are not based on calculations, but on personal choice selections from lists of options.
I have a javascript script that prints a few PDFs. They are printing about 10% too large. If I print each one manually, they print normal size.I am using a folder level script and using printparams to adjust the settings. I have tried setting pagehandling to "fit" and "shrink" but it is still larger than it is supposed to be.Any suggestions?Thanks
there is an interactive tour provided in the welcome menu of Acrobat 2017. Does anyone know if Adobe Captivate was used to create this? How can I create my own interactive tour inside of Acrobat to show users how to use our plugins to Acrobat? I do not want this to be a video. I want users to actually click on buttons and engage, not simply select a button to advance the next clip/scene. Thanks,Jordan
I am creating calibration certificates, my fields are set as numerical values, but I cannot leave a blank field when data is not available. How can I default the blank fields with "--" using javascript?
Repeated attempts to check for updates result in a message "Update failed." Is Acrobat 9 no longer supported at all?
I am writing a C# application that needs to use Adobe Acrobat DC to open a PDF file and save it as a text file, using Acrobat's file conversion. How do I do this? Can anybody show me some sample code using the SDK? I have already looked through the sample code provided with the SDK but I don't see anything that helps me convert a PDF file to a .txt file.
Hello,I would like to synchronize external events (from a WebSocket) and the advancement of my presentation in Acrobat.I'd like to use the AVPageViewGoTo function when I get an event from this WebSocket.Therefore, I created a C++ class handling my WebSocket connection. In this class, I have a method binding the WebSocket's events to a function passed as a parameter.In my plugin, I have a function ("GoToPage") which looks like this:void GoToPage(int pageNumber){AVPageView page = AVDocGetPageView(AVAppGetActiveDoc());AVPageViewGoTo(page,pageNumber - 1);}I pass it as a parameter (as a std::function<void(int)>) to my WebSocket client.My problem is that whenever the "AVPageViewGoTo(page,pageNumber - 1);" line is called from the client, my plugin crashes and I have an access read violation (even if page is not null).I guess that this problem is due to the fact that I try to call a function of Adobe Acrobat's API outside the main thread (as explained here https://forums.adobe.com/
Hi Guys,Thanks for your help firstly. I have almost finished my pdf but have one last step.On the first part of the .pdf there is a bunch of yes/no questions. These are coded for colours and to give a final risk rating depending on the answers.I'd like to script a box on the last page that is a summary of must do risk controls, however I am having trouble with making it multiline.Essentially, I'd like it to be something like.if(this.getField("OCTA").value == "No") { event.value = "Radio carriage required, monitor ATC freq 15 mins prior to flight."} else {event.value = "Nil"}then add another line if(this.getField("Non_CTRL_AD").value == "No") { event.value = "Radio carriage required, monitor FIA and CTAF 15 mins prior to flight." } else {event.value = "Nil"}I'm obviously doing something wrong here as it only calculates the first one. I'm obviously a noob at Javascript but am so close to finishing the form.There are three or four of these questions that would give
I'm using a simple javascript to validate a field, and turn on a checkbox based on the value of the field. However, I'd like the validation to loop or cycle through multiple fields prior to turn on the checkbox. Here's what I have: this.getField("Check Box3").checkThisBox(0, (event.value=="0"));this.getField("Check Box4").checkThisBox(0, (event.value>="1"));
I am working on a windows computer. I've tried selecting the multiple text field boxes and right clicking but it does not give me the option to select format category: number.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Onko sinulla jo tili? Kirjaudu sisään
Eikö sinulla ole vielä tiliä? Luo tili
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.