Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
I would really appreciate some help with a formula conversion for excel to java please!i have to work out a vat amount based on two cells-c1 is a free typed cell, d1 is auto populated with the amount of the percentage based on c1 so:=(c1*d1)/100i can’t get the fudging thing to work though and even though it is probably really simple - I can’t figure it out!!!please could someone offer some advice?cheers!
I have a format custom script.if (event.value !=="" && !isNaN(event.value)){event.value = util.printf("%.2f",event.value*100);}else{event.value = "";}and a custom validation script........if (event.value !== "") {event.value = event.value / 100 ;}if (event.value>1||event.value<0){event.value="";app.alert("L’entrée doit être entre 0 et 100")}I need my Percentage field to read 1,50 % (French)Currently it reads 1.50 % (English) Any help would be appreciated.
I am developing an entry form. There are four options per entry line. If two of the four options are selected, there is an entry discount. What is the best way to calculate the discount?For example: the options are A, B, C, D. A & B export a value of 7, C & D export a value of 3. If A AND B are selected, then they should be 6.5 or:If A OR B, then SUM (A+B+C+D);If A AND B, then SUM (A+B+C+D-1)
I have created a button to add a page using a template, but it is adding the page at the end.I need the page to be added right away behind the previous page and need the page numbering in the footer to be right, which is not when the new page is added.I am not good with javascript. Can someone help me with the coding?
Hello, I have a form with some drop downs for T-Shirt sizes and Quantities. I need help figuring out how to calculate the Total Payroll Deduction as seen below. Basically need a calculation script for both Short Sleeve and Long Sleeve:Short Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL) Long Sleeve would be something like: Field: Size * Field Quantity * (Price if Size = M or L, Price if Size = XL or XXL)Any help is greatly appreciated.
The License Transfer form requires a Case Number. I followed the link in the form to obtain one and am getting run in circles.Any assistance/link would be appreciated ... shouldn't be that tough; especially, if it is a requirement for transfer. Thanks!
if('Boiling Water Canner'=="Yes") {// selected - show radio buttonsthis.getField('Boiling Water Pack').display = display.visible; // show radio button} else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio button}if('Pressure Canner'="Yes") else {// selected - show radio buttonsthis.getField('Pressure Canner Gauge').display = display.visible; // show radio button} else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio buttonthis.resetForm([‘Group 1’]); // clear radio button}if(Dehydration=="Yes") else if {// deselected show hide the radio buttons and reset the fieldthis.getField('Group 1”).display = display.hidden; // hide radio button}
Hello !I've made a script, activated by pushing a button, to export or copy field values from one pdf to another. Everything works fine with Acrobat Pro, but it doesn't work with Acrobat Reader DC. I'v read in other posts, that it should be possible and I really can't see anything logical, that it shouldn't be possible: I know, it's called "Reader". But this reader can change field values, properties and so on in one file. And finally, the READER can SAVE CHANGES. So why shouldn't it could change values in other pdf files !? I think, I simply made a fault in my script, so I need some help, please ! Or is it really impossible !? The relevant part of my script only needs two lines, I thought. It is like this:newDoc = app.openDoc("target.pdf");newDoc.getField("name").value = this.getField("source_field").value;Of course, the target pdf has the actionthis.disclosed = true;in document java Scripts. As I told: it works with Acrobat Pro.
Can you use a hosted acrobat DC to convert the text in an image pdf to an editable(or searchable) text before the dowloaded pdf saves to the end-users computer?
Am new to Acrobat DC. Have recently found out that I need to produce documents in inherit zoom. This isn't an option with Acrobat DC. So I am guessing I need to get a plug-in for this. Are they free or do I need to buy it?
I have an adobe variable data .pdf I want to be able to calculate the tax rate or tax percentage. How can I write a Javascript for this?
I am creating a diagnostic tool for PDFs, and one of my flags is whether the document has metadata, specifically keywords. My output from the diagnostic tool is a tab delimited file. I use the following Javascript to report the keywords of the PDF. dataLine += this.info.keywords;The issue is that when I manually delete text from the keywords field, save the file, close it, reopen it, and then run this script, the output is the exact text that I just deleted. Why is the output not blank? The document properties show nothing in the keywords field.For instance, if I type into the keywords field "test" and nothing else, save the file, close it, reopen it, and then run this script, the output is "test", as expected. Now when I manually delete "test" from the keywords field, save the file, close it, reopen it, and then run this script, the output is still "test". I would expect the output to be blank, not "test". What has not worked is deleting the c
I want to create plug-ins for Adobe Acrobat DC. I have been reading through the documentation for the Acrobat DC SDK Documentation and encountered a reference to the ASN Developer Program. According to the documentation, I can find details by going to the page for the Acrobat Development Center. That page contains no information about the ASN Developer Program. I "chatted" with an Adobe support person who didn't have a clue. The next day I called Adobe and almost randomly picked an item from the phone menu in an attempt to find somebody who would point me in the right direction to get some kind of information about ASN. I landed on, I think, a phone menu branch meant for supporting download and installation of Acrobat. The person I spoke with gave me an email address to contact in addition to a case number.With high hopes, I dutifully sent an email to wwds@adobe.com. I asked about the ASN Developer program: How to qualify. How to jo
Is there a way to control what Acrobat PDF layers are visible based on the particular OS or device the person viewing an Acrobat file is using when it is opened?I was optimistic when I saw Show/hide layers and fields on doc startup It seemed to suggest that I may be able to switch off a layer if I wasn't using a Windows or Mac machine, i.e. possibly an iOS device. Having tried other strategies that hadn't worked I thought I'd give it a go.I modified the javascript from that post to just toggle layers on or off (I wasn't worried about fields) that I had created and exported from InDesign. I added the code below as a 'document javascript'. Like so many other options it seems to work OK on a desktop but not an iOS device which continues to display all layers.// Get Layer Names function findLayers(cName) { var fLayers = this.getOCGs(); for (var i = 0; fLayers && i < fLayers.length; i++) { if
I use this code and it worked , I need to add the "Windows Login ID" with the print as " This document was printed on dd/mm/yyyy by User Name" Can you help in this to modify the code. var inch = 54; for (var p = 0; p < this.numPages; p++) { var aRect = this.getPageBox( {nPage: p} ); aRect[1] = .5*inch; aRect[3] = aRect[1] - 24; // and 24 points highvar f = this.addField("PrintField", "text", p, aRect ) f.delay = true; f.textSize = 06; f.textFont = font.Helv; f.textColor = color.black; f.alignment = "right"; f.readonly = true; f.display = display.noView; f.delay = false; }var myWillPrintScript = 'var f = this.getField("PrintField"); \r' + 'f.value = "Printed on " + util.printd("dd/mm/yyyy hh:MM tt", new Date()); \r';this.setAction("WillPrint", myWillPrintScript);
Hi,I have a form with multiple javascript buttons for users to upload files. The issue is that if someone deletes a file, and uploads it again, the order of the file is out of sync and doesnt match the button that was used to upload.ie. button1 to upload document1, button2 to upload document2, button3 to upload document3, delete document1, reupload document1 using button1document order is as follows:document2, document3, document1Sequence of the documents is important, but if I can't get around that, is there anyway to append a prefix to the filename based on the name of the button that was used to upload the document?ie. button1 to upload document1, document is named 'button1 - document1', etc.thoughts? thanks in advance!
Ik wil duizenden documenten (TIFF,Word) gaan converteren naar PDF.Echter moet de outputnaam volgens een bepaalde standaard zijn, bijvoorbeeld:123456_123456789123456_987654321Het getal achter de underscore moet altijd 9 posities bevatten.Bevat deze waarde minder dan 9 karakters, dan dient het te worden opgevuld met voorloopnullen totdat er 9 posities zijn.Voorbeeld:Input Output123456_123456789.tiff 123456_123456789.pdf123456_12345678.word 123456_012345678.pdf654321_321.tif 654321_000000321.pdfIs hier een script voor?
This is the first time I use javascript so I'm sorry if the question is just silly. I have three pdf forms (A,B,C) that I want to combine into one file. I would like to have three radiobuttons on the top of the form (A,B and C). Depending on which one would be chosen pdf form A,B or C would be displayed. The question is if there is a possibility to create some kind of panels in Acrobat XI or do I have to add visibility conditions for each object in the form?
Hello Im pretty new with this of JS on Acrobat and I usually use the automated functions from adobe, but the problem is this.. I have 3 check box from where you only can select 1 of them, each box has his value, well I need to do a subtraction of this based on the selection that you do from another number provided in another field.. something that looks like this:Total daysOpt 1 (15)Opt 2 (18)Opt 3 (21)Days to takeDay leftX numb 1 (total 1) Here should be the result of the substraction from my opt 1 and X numb 1if numb 2(total 2) Should be a substraction from total 1 and numb 2 (but i know that for this there is an option where I can select (Total 2 - Numb 2) if numb 3(total 3) same thing that total 2.. What can I do to set a code or how should I code to get that.. I mean i have the chance to split the number of each option in 3 parts like I will select Opt 1, so from those 15 i will take just 10 then the result will be 5 day left, so i will take those 5 days u
Hello,I do not have much experience in Java, please help me. I want to write such a command -> only if all checkboxes are checked then this checkbox "cb0" should be automaticaly checked.What is false in my code?var 1=getField("cb1").value;var 2=getField("cb2").value;var 3=getField("cb3").value;for (i = 1; i < 3; i++){ if(event.target.value=="Yes"){ getField("cb0").checkThisBox(0,true);} else if(event.target.value!=="Yes"){ getField("cb0").checkThisBox(0,false); }}
I currently have two buttons on my form. One to clear the entire form and another to only clear certain fields. I have added a validation code to ask the user if they saved the form yet. However I have yet to find a way to skip the next action which is the built in "reset form". I have entered a similar validation on the other button but this is easily done since its purpose is to clear the entire thing. Any help would be great thanks!
We are a law firm that regularly receives thousands of emails from clients for potential use. We are looking for a product that will allow us to do the following:1. Take outlook files (.pst files) and batch convert them to pdf (rather than clicking through them one-by-one).2. As part of that conversion, also convert any attachments embedded in the individual email files.I have been told by colleagues that Adobe Acrobat can perform this task, but unable to determine how to do so despite repeat attempts.
Hi Experts,I have problem adding new items to dropdown. Whenever I add items to dropdowns, first value is automatically set as default. I tried resetting dropdown with resetForm(["Dropdown1"]); but it does not work because dropdown default value is first item while I want dropdown to reset to none value selected.I know there is way to add "" as first item in all of the dropdown but I do not want to use this.RegardsArvind
I'm using Access VBA to work with Acrobat documents. The only problem I'm having is that if1. VBA creates an object that refers to Acrobat, then2. the user closes Acrobat,3. VBA tries to access or open AcrobatAcrobat crashes. I haven't been able to come up with a way for VBA to test whether or not Acrobat is already open, etc., like I can do with other objects.I'm using:Dim appAcrobat As Acrobat.CAcroApp Set appAcrobat = CreateObject("AcroExch.App")It would be good if Acrobat were to stay open all the time, which I'm trying to train users to do. I.e., have my application close documents, and have users close documents (instead of closing the application).Is there a way to disable the "X" in the top right corner of the Acrobat application, so users won't close the application? Then I could tell them to use File, Exit to close the application.Thanks.
Hi,Is there a solution to achieve, conversion from pdf to html rendering and integrate in my application using c# code, dll, exe.
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.