『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
I have been attempting to calculate a subtraction javascript in acrobat X. (i am an inexperienced javascript coder and found part of this this in a search online. I made some assumptions and elaborated the rest)This is my javascript:// Get first field valuevar v1 = getField("Qty Recd").value;// Get second field valuevar v2 = getField("Text4.0.1").value;// Get third field valuevar v3 = getField("Text4.1.1").value;// Get fourth field valuevar v4 = getField("Text4.2.1").value;// Get fifth field valuevar v5 = getField("Text4.3.1").value;// Get sixth field valuevar v6 = getField("Text4.4.1").value;// Get seventh field valuevar v7 = getField("Text4.5.1").value;// Get eighth field valuevar v8 = getField("Text4.6.1").value;// Get ninth field valuevar v9 = getField("Text4.7.1").value;// Get tenth field valuevar v10 = getField("Text4.8.1").value;// Get eleventh field valuevar v11 = getField("Text4.9.1").value;// Set this field value equal to the differenceevent.value = v1-v2;-v3;-v4;-v5;-v
I need Javascript for rounding solutions in two calculated fields in an Acrobat Pro DC form (I am almost totally unsavvy about Javascript, well, actually, totally.):I need to round UP to the next whole number the results in one calculated field whose basic calculation is this:(*THIS CALCS HOW MANY DAYS A JOB WILL TAKE)// Get first field value, as a numbervar v1 = +getField("qty").value;// Get second field value, as a numbervar v2 = +getField("wordsperday").value;// Calculate and set this field's value to the resultevent.value = v1 * v2;--------------------------------I need to round DOWN to the next whole number the results in one calculated field whose basic calculation is this:(THIS CALCS HOW MUCH A JOB WILL COST)// Get first field value, as a numbervar v3 = +getField("qty").value;// Get second field value, as a numbervar v4 = +getField("rate").value;// Calculate and set this field's value to the resultevent.value = v4 * v3;I have tried a few copy-and-paste scripts from the web; they
I just upgraded my Adobe XI Pro and now, when I scan a document, it is scanned as legal size rather than letter size, regardless of the size of the original. I can't seem to find anywhere that this can be changed in the settings.Can anyone help?
Acrobat Pro 9 replaced by Acrobat Standard DC.Catalog index creation not possible? Add-on available? Or upgrade to Pro DC required?
Hello, I have an academic Acrobat Pro DC... My action Item works the first time I set it up but the second time I go to run it, it gives and error stating that has been built by an old version... I tried to even import it but does not work... I am attaching all the screen shot I have obtained bellow... What could be wrong?Regards,Jeff P.
Hello,I need to get the PDF document view center co-ordinates using Acrobat core API.I developed a plugin where I need to place a dialog box in the center of PDF document.How can I achieve this?Thanks.
I'm using this script to generate a random number. It works fine but I would like to modify it to include a No, Cancel, Yes button. As you can see I figured out placing the "3" into the script gives me the three buttons. But, the random number still gets placed into the m12 field, regardless of what button is pressed. Can someone show me how to make the modification so I'll be able to have the choice as to what I want to do? Here's my existing script. case "ID Number": // custom funcitons to generate random integers and random strings;function RandomInt(nMax, nMin) {// generate a random integer between the nMin and nMax valuesif(typeof nMin == "undefined") nMin = 0;nMin = parseInt(nMin);nMax = parseInt(nMax);return Math.floor(Math.random() * (nMax - nMin)) + nMin;} // end RandomInt functionfunction RandomString(cValues, nLength) {// generate a random string of length nLength from string of cValues;nlength = parseI
i have a costume calculation set to a checkbox and if i change one of the fields it pulls the data from i have to uncheck and recheck the box for it to reflect the change.any way to create a refresh script and set it to a button or in the text filed so if it's changed it will refresh the script script is set on the button, as on mouse up run scriptscript does thisif box = yesadd Field A + B + 8print in filed Cif box = noadd Field A + B print in filed C
Example:1. Please Select each applicable option:Option 1Option 2Option 3Option 4Option 5Option 62 By holding the CTL key the user selects:Option 1Option 2Option 3Option 4Option 5Option 6Printed/Saved output appears as:Option 2, Option 4, Option 5.Can anyone give me the Adobe Javascript to make this happen?Thanks in advance!!!![Moved from the non-specific Coding Corner to a product-specific forum - moderator]
I've created a catalog in Adobe Acrobat XI Version 11.0.11 on a Windows 7 operating system that has a couple hundred items broken down in 20 pages. I would like the user to be able to click on the item they want to place it on an order form. In theory they would click on the item, it would bring up a window asking the quantity and the user can click a button that says Add to order. Once complete the user can see their order by clicking on the View Order button. Once confirmed they would be able to send the order to our company via email. Is this possible in Adobe? Is it something I would be able to do on my own or would you recommend I find a programmer who could help me?
Hallo,bei der angebotenen Funktion "Drucken" (in ebay) und drucken auf den Acrobat-Drucker wird die pdf-Datei ohne Fehlermeldung erzeugt.Leider ist das Ergebnis teilweise nicht lesbar:Woran kann es liegen? Verwende Acrobat 9 Standard (reicht für mich)."Lokale Schriften" schon ein- und ausgeschaltet, ohne Erfolg.Bitte um Hilfe Danke + Gruß - Harry
I've created a catalog in Adobe that has a couple hundred items broken down in 20 pages. I would like the user to be able to click on the item they want to place it on an order form. In theory they would click on the item, it would bring up a window asking the quantity and the user can click a button that says Add to order. Once complete the user can see their order by clicking on the View Order button. Once confirmed they would be able to send the order to our company via email. Is this possible in Adobe? Is it something I would be able to do on my own or would you recommend I find a programmer who could help me?
Hello - I am seeing some assistance with formatting an email message my code creates. Code works great btw. I am looking to format the phone number correctly and possibly change the font?Here is the code in question:// To email addressvar cToAddr = "user@email.org";// CC email addressvar cCCAddr = "";// Set the subject and body text for the email messagevar cSubLine = "New I Am HOPE Award Nomination";var cBody = "Attached is a new I am HOPE Award Nomination for " + this.getField("Nominee").value + ". " + "Should you have any questions please contact me at " + this.getField("YourPhone").value + " or " + this.getField("YourEmail").value + ".\n\n" + "Thank you" + ",\n\n" + this.getField("YourName").value// Send the entire PDF as a file attachment on an emailthis.mailDoc({bUI: true, cTo: cToAddr, cCc: cCCAddr, cSubject: cSubLine, cMsg: cBody});Here is the result of the code:Anyone know how I could get the phone number to reflect normal like (999) 555-3333? And is there a way for format the
I am looking for a training that can help me to interact with PDF fillable forms. These forms are created by Acrobat DC Professional, and we want to put these forms online, and let users fill the form and submit the form online, and we will then extract the fields data after the forms submitted, and do some kind of workflow behind scene.I have some basic experience in JavaScript, C#, etc.Would someone give some suggestions, and where can I find the training? Many thanks!
Hi,a simple API call to prefill a textfield is working perfectly in Acrobat Desktop and iOS, but not in Android. When the same API call is use inside a button event, it's also working in Android.How to reproduce:- Create a PDF with two textfields "Text1" and "Text2".- Insert document JavaScript:this.getField("Text1").value="Text1";this.getField("Text2").value="Text2";- Save document and open it in Acrobat Reader App for Android.=> The textfields are not filled with text as expected.Used version: 17.0 / Build 164574You also can download a testfile here: AndroidTest.pdf - Google Drive Thanks!Christian
I downloaded a form with fillable data fields and it took more than an hour to complete. After saving the file, when I reopen it, the data flashes in the form fields and then disappears. Where does it go? And, how do I get it back? What setting can I change to keep this from happening? I really don't want to have to re-type all that data again...I'm using Acrobat Pro 9 on a Win 7 pc...EDIT... I changed my reader to Acrobat DC and got the same result. The data flashes across the fields then disappears. I also e-mailed the form (completed) to another computer with the same result on opening.Thanks,Bob
How to display 3d pdf in my own@ application?Is there an ActiveX Control or other componments?
I am new to Javascript programming in adobe. I have a purchase req that needs to multiply the qty and the unit cost to get an extended cost. I know I can do this in a simple calculation, but I also want fields that are zero to return blank. the code I have so far is:event.value=(this.getField("QtyRow1").value * this.getfield("UnitCostRow1").value);If(event.value==0) event.value = "";neither stablemen is working. The first does not seem to calculate and the second give me the missing; before statement 2 error...any help you can give would be great.
Please help with (the script). Necessary to multiply the two cells. The first is the QTY (set by hand). The second cell is given a choice between four ranges (1 - 1 to 50; 2 - 51 999 3 - 1000 to 2499 4 - 2500 & up). The table looks like this: QTY Choice1 Choice2 Choice3 Choice4 Total Price!
In Acrobat X, is there a way to create a java script that would open up the print dialog and select black and white printing, and print the document? We have a color printer, and it is cheaper to print in B&W, and there is no color in the form being printed. We are currently changing it for this document every time we print it, we don't want to change the default because we do a lot of color as well. I'd like to assign the script to a button and add it to the form.If there is a different way to accomplish this, I am open to suggestions.Thanks in advance for any assistance.
Hi,I am trying to create an autofill date field on an Acrobat form that does not change once calculated, ie. the user opens the form and the date populates automatically, the user saves the form but on subsequent opening, the original date remains.So far I have successfully created a Javascript in Page Properties Actions to print the date on opening the form but I cannot find a way of prevent further changes. I have tried various scripts to do this but none worked for me.I also tried creating a field level calculation which worked fine in so much that it populated the field with the date as required but I couldn't clear the form before saving it for use. I found a debugging script to enable me to clear the field - great - but after saving and trying to use the form, the field remained blank. So I'm back to square one. I don't really mind if the field completes on opening the form or on a mouse click, as long as the date does not change if the form is reopened on
When I load copies in my HP Officejet Pro 8620 AiO ADF in an attempt to scan multiple pages, it only scans from the flatbed and makes no attempt to scan from the ADF. What is needed to correct this problem?? Please help
When I save a Powerpoint pptx to PDF using the Adobe DC plug in the content created with the Pen tool is missing.
I have two cells that need to be subtracted from each other.The first cell is Receipt Total ARow1.The second cell is the one that needs to be subtracted from the first cell, it is called LESS GST A BRow1.The third cell is where the total of this subtraction needs to show, it is called Net Expense A BRow1.Please tell me how to write this as a javascript and do I put it in Simplified field notation or in Custom calculation script.Thank you
Hi, I'm trying to convert this excel formula to javascript: =ROUND((0.007184*(E6)^0.725*(G6)^0.425),3-LEN(INT(0.007184*(E6)^0.725*(G6)^0.425)))where E6 is a pdf field named Ht G6 is a pdf field named Wtany help would be very much appreciated.
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.