『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the power of Acrobat SDK through our community.
新着順
Hello everyone, I am using Acrobat X. this.movePave(3,5) comment moving 4th page to 6th position. this.movePage(5,3) is not moving 6th page to 4th position. Please some one explain how to use this.movePage().
I am new to both PDF form and JavaScript, so I apologize if this question seems obvious, or isn't worded effectively.I'm attempting to create a custom text field which will calculate the user's "Star Wars Galactic Birth Year" as part of a PDF form. Basically, type in your age, and it will spit out your "birth year", appended with BBY or ABY depending on if the number is positive or negative. (35ABY acting as the "current" year, in this example.) Here's the custom script I cobbled together. ("Age" is the name of the field, as I'm sure you could surmise.)event.value = Math.abs(a) + bvar a = (35 - this.getField("Age").value)if (a = -integer) { var b = 'BBY' } else if (a = +integer) { var b = 'ABY' } else if (a = 0) { var b = 'BBY' }I've never used JavaScript before, so I assume am making some kind of very basic mistake. The calculation doesn't run consistently, and it never seems to allow the text field to be left empty. The math seems to get wonkier with each attempt. Is there a way to h
First, I may not be using the correct terminology. I want to have the password displayed as asterisks as it is being entered—that's what I'm calling "hashed."try67 gave me an excellent, simple script to protect the text field in question with a password, but it doesn't conceal the password with asterisks while it's being input (I didn't think to ask for that). I don't know anything about sql or php, so I'm hoping there is a simple line or three of js that can do this for me. Here's what I have so far:The 'Score' field is the one in question, and here is the line of code try67 was kind enough to provide and which works just fine:event.rc = (app.response("Enter the password:","","")=="1234"); //where "1234" is the password.This is placed as a custom validation script in the field's properties modal.When the js alert window pops up, it automatically places the cursor in the password entry field, which is great (another script I tried didn't), but when I enter the password, the characters
So, I have this file with 20 something pages in it. I wrote some code to split the files into different individual files based on a bunch of file names I have put in an excel spreadsheet (like page 1 is called file XXX and page 2 is called file YYY). It worked great for a good number of the files I have, but apparently, it did not work for all files. What troubles me is that, I have the following two lines in the code. which writes to the immediate console based on the save operation, and all of these operations showed as successful. Not all the files show up in file explorer (windows) after the save. Is this a bug within the PDDoc.save function? Or is there something I missed that is causing this? If NewPDF.Save(PDSaveLinearized, WritePath & sh.Cells(StartRow + j - 1, i).Value & ".pdf") Then Debug.Print sh.Cells(StartRow + j - 1, i).Value & " Success"Else Debug.Print sh.Cells(StartRow + j - 1, i).Value & " Failed"End IfI initially th
Subscribe Acrobat:Acrobat DC is offered as a subscription purchase. You can buy Acrobat Pro DC or Acrobat Standard DC through an annual or month-to-month subscription plan. It includes Acrobat Pro or Standard for your desktop, plus Adobe Document Cloud mobile apps and Document Cloud services.Select a store to order Acrobat DC products or contact an Adobe Authorized Reseller. To purchase Acrobat DC for your organization, learn more about Acrobat volume licensing Adobe license management, discounts | Adobe Buying ProgramsAdobe Partner finders: Adobe Partner FindersWhen you subscribe to Acrobat Pro DC or Acrobat Standard DC, you pay a low monthly fee to get:Acrobat Pro or Acrobat Standard desktop software, respectively – including ongoing access to new features and upgrades at no additional cost.Adobe Document Cloud services that unlock premium mobile features in Acrobat Reader mobile app and premium online services to help you do more with PDFs on the go.New and enhanced features are typ
Hello,is it possible to check if a PDF page has no annotations like comments of Fill and Sign. I'm working with Adobe Acrobat and VBA.I need a function with result = false if there is no Comment or Fill and Sign on a page of a PDF document. I hope someone can help me with a little bit code.Best Regards from GermanyJosua
I currently open each file, open the js console, and type the code for each file. I have 100+ files and it is quite cumbersome.
I created a form that has 3 text fields to enter in a long description. I was able to find a script to autotab onto the next text field after a character limit is reached, but now words get cut off in the middle if the character limit is reached. Is there a way to automatically move a word to the next line if it gets cut off due to the character limit?This is what it looks like now:Line 1: "This is a long sentence to demonstrLine 2: "ate." I want it to act like this:Line 1: "This is a long sentence to Line 2: "demonstrate."
I have tried looking thru all the discussions and I just have not found the right answer to my question. Right now I have "hidden" text boxes that have custom calculations in order to simplify the other calculations. Then I have those text box engineering calculations also auto fill into a diagram I have on the same page. However I am having a hard time having the diagram populate with the correct numbers unless I create a fake "check box". Then it will trigger a change in the numbers. Same issue comes into play when we decide to change numbers in any of the text boxes without clearing the form completely.I have Adobe Acrobat Pro DC version 2019 and I have not found the "set custom calculation order".
I have a form that is filled out by users to set up their web accounts.There is a section on the form that asks for their preferred username. The username must be between 8-18 characters, contain one number and cannot contain special characters.For the 8-18 characters requirement, I put an 18 character limit under the Options tab and also entered the below Format Script:var minLength = 8; // the minimum number of digits the user should entervar maxLength = 18; // the maximum number of digits the user should enterevent.rc = true;if (event.value && (event.value.length<minLength || event.value.length>maxLength)) { app.alert("Please enter between " + minLength + " and " + maxLength + " characters."); event.rc = false;}To prevent special characters from being entered, I entered the below Keystroke Script:event.change = event.change.replace(/[^0-9a-zA-Z]/gim,"") ;I am wondering if anyone has any suggestions on what Format/Validation Scr
HI allI have created a form using Acrobat and it works well on the iPad which is the target device for using the form. As part of using the form I want users to be able to select "add comment" and sign the form using their finger and then submit it.I then want to be able to use a javascript to "clear" the form and delete all commentsI am using this javascript which works perfectly on the desktop but doesnt work on an iPad. Any ideas why? Thanks in advancesyncAnnotScan();var annots = getAnnots();var i; for (i = (annots.length - 1); i > -1; i -= 1) {annots[i].destroy();}
i used this exact same script as a custom keystroke script on a different pdf and it’s not working now any help is appreciated.case "PERIODIC EVAL E4 AND BELOW ICO:":this.getField("Return").setItems(["MAIN ADMIN"])this.getField("1").setItems(["MO"])this.getField("2").setItems(["AMO"])this.getField("3").setItems(["DIVISION OFFICER"])this.getField("4").setItems(["DIVISION LCPO"])this.getField("5").setItems(["DIVISION ADMIN"])this.getField("6").setItems(["BRANCH CHIEF"])this.getField("7").setItems(["LPO"])this.getField("8").setItems([" "])this.getField("9").setItems([" "])this.getField("10").setItems([" "])break;
There is a section of my form that asks for a person's date of birth. I would like for the field to allow the date of birth to be entered only in the following formats:1. m/d/yyyy2. m/d/yyThe Date Format under Text Field Properties only allows for one to be selected and I was wondering if there was any way to allow for multiple? I would prefer that the date of birth is displayed showing 4 digits for the year but I do not want it to give an error and cause any frustration if it's entered using only 2 digits for the year.
Meine Sammelmappe hat zur Zeit 4 Dokumente. Jedes Dokument hat einen eigenen Mailbutton mit folgendem Inhalt.this.mailDoc(true,"messen@lkw.li", "", "", "Apparatemeldung");Nun möchte ich noch den Script ergänzen, damit nur das gewählte Dokument gesendet wird. Also nicht die gesamte Sammelmappe. Gibt es eine automatisierte Lösung?Vielen Dank!
Hello, I would like to integrate Acrobat Reader support into my company's project, in order to be able to disassemble the pdf documents on the elements. I downloaded the TRIAL version Acrobat Reader Pro and added Acrobat.dll to my project(.net). After I read the documentation in the Adobe SDK, I could not get XObject page. Please answer me the following questions: How can I get items from current page//exampleCAcroApp App = new AcroAppClass();CAcroAVDoc AvDoc = new Acrobat.AcroAVDoc();if (AvDoc.Open(PathToFile, "")){ AcroAVPageView avPageView = (AcroAVPageView) AvDoc.GetAVPageView(); for (int iPage = 0; iPage < pdDoc.GetNumPages(); iPage++) { var pdPage = (AcroPDPage)pdDoc.AcquirePage(iPage); // todo "How can I get items from current
Hello, I need your help. Is it possible to control 3d menu with Javascript?Cheers,Tc
can any help me please,I do have a PDF form with a phone number in it and my client wants the phone number to be clickable and to pop-up a (vcard)to "save contact" I have found a way to open the phone number -by clicking on it- shows on the caller dialing screen to make a call but it is not enough, I need it to open save as contact with all contact details (number, name, address, mail ....etc)Thanks a lot
hello... i want to add a custom plugin to adobe reader..for that i have an .api file written in c/c++.now how should i add this plugin to adobe acrobat readerDC?
How do I/can I programmatically open a dropdown list after its contents have been modified (via setItems)? I want the user to be able to see the 'outcome' of the setItems...
I am trying to create a textbox that the fill color will change according to input in a dropdown box named "DropdownColor" in has 5 choices red, green, blue, yellow and ****. in the texbox I added a validate javascript as follow:{var vcolor = event.value;if (vcolor == "") this.getField('DropdownColor').fillColor = color.transparentelse if (vcolor == "yellow") this.getField('DropdownColor').fillColor = color.yellowelse if (vcolor == "blue") this.getField('DropdownColor').fillColor = color.blueelse if (vcolor == "red") this.getField('DropdownColor').fillColor = color.redelse if (vcolor == "green") this.getField('DropdownColor').fillColor = color.greenelse this.getField('DropdownColor').fillColor = color.transparent;}the text box color never changes from the bluish default color.What am I doing wrong?Amos Madanes
plugin creation
I reviewed this tutorial: https://acrobatusers.com/tutorials/change_another_field and it works great, but I need to create 15 more drop downs to do the same thing. How do I do this? The example in the above link only shows how to create once instance.
Hello,Is there a possibility in Acrobat to add a field with a random number, which will change for each printed copy of a document. it would be perfect if such number could be then displayed as a 1D barcode.In other words, if I have a booklet of 6 pages on each page at the bottom a random number/barcode would be printed, but if user prints 10 copies each copy would have a unique number.Many thanks for any suggestions.
Kindly answer the code to find empty fields only in current page out of many page in PDF..The below code works well for all page. But i require only for current page which i'm using at that time.var emptyFields = [];for (var i=0; i<this.numFields; i++) { var f= this.getField(this.getNthFieldName(i)); if (f.type!="button" && f.required ) { if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) emptyFields.push(f.name); }}if (emptyFields.length>0) { app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));}
Using Adobe Acrobat DC.A final button on page one is titled: 'Next Page: ADMIN only'.How can I password protect the button to where if a student clicks on the button, a password box would pop up (so that access to the next page is restricted to admin personnel only)?Thanks in advance!
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.