Questions
Recently active
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!
Hello,I am not a coder but I am trying to find out how can I make a form so that when one value is selected in "column A" it will automatically populate a certain value in "column C. Please see attached image. There are two options to choose from in each of the columns, so:If "option 1" is selected in column A, then "value A" will populate in column C; orIf "option 2" is selected in column A, then "value B" will populate in column CThanks ahead for any assistance!
In our workflow for pre-press, we get a lot of documents that we need to optimize, and very often something that gets in the way are lines with empty text. Usually it's just a space or a hard return, no other characters are in the text field. It tends to throw off the whole page when we try to automatically scale it because the page is using that empty text box when it scales and the text is in a weird spot. If we could remove these sorts of text boxes, that would be amazing. Seems like a simple script should do the trick. Any help appreciated.
Super confused here.So I'm making a series of forms for people to fill out that use various Javascript to enable/disable fields, change colors, etc.Some people are on 'secure' computers and need to actively enable Javascript. On most of the forms, the yellow bar appears at the top with the message about enabling Javascript. When that appears and they enable it, everything works fine.However, for some forms, and with some people, this doesn't happen. No prompt appears at all, so no scripts can run. It just doesn't give the option at all, even when other forms do.Everyone is using the same version of Acrobat Reader DC as far as I can tell.What could I be overlooking? Could it be a setting on the user's computer? Why would it only effect certain files?
Hi together,I have a PDF-Form and there some objects become visible or invisible with checkboxes. This works very fine and is not so hard to realise. But after I make a object (e.g. a picture form element) visible I want to move the object with a drag-and-drop-function.Is this possible with JavaScript in Acrobat DC?Thanks for your helpThorsten
I have a Adobe acrobat questionaire which has different scores dependant on which of the 6 check boxes is checked I have set each individual score in a hidden text box which is made visible when the corresponding check box is selected. This works fine except I can't get only the visible score to show in a total field. It also calculates the hidden amounts. I have used the custom calculation java script below on the Total field but nothing shows, can anyone help me : (// Custom calculation script for Total field// Initialize variablevar sum = 0;// Add first field value if its corresponding check box is selectedif (getField("Q1 Client 1#0").value !== "Off") { sum += +getField("Q1 a1").value;}// Add second field value if its corresponding check box is selectedif (getField("Q1 Client 1#1").value !== "Off") { sum += +getField("Q1 b1").value;}// Add third field value if its corresponding check box is selectedif (getField("Q1 Client 1#2").value !== "Off") {
Not sure if this combination of requirements is possible. I have a date field that automatically updates for a form and cannot be edited.I want this date field to lock the date in place based on a digital signature block. I saw a post here https://forums.adobe.com/thread/2302655?q=Lock%20date but this is based on saving the document.The date field is named "MyDateField".Is this possible?Thanks in advance.JT
Hello, I wonder, if there is any method to show the exception message if plug in didn't load ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.