Questions
Recently active
Acrobat X was working fine last week in Windows 10 and now this morning it won't launch in windows 10 when I run the trouble shooter it says its compatible with windows 7 how do I fix this?
I am working on a form to do some simple calculations based on quantity and price of several fields.In the form, each product could have a single quantity or multiple quantities (if there are product variations such as color, size, etc).I have set up the field so that each product group has a unique name, with the various quantity boxes having a suffix.:Ball Price 001Ball Quantity 001-1Ball Quantity 001-2etc...Ball Total 001The script then loops through all fields, finds the appropriate quantity fields based off the event field then should put them into a total quantity variable.However it is not functioning (returns undefined).Here is the code I have in the custom calculation:// On The Product Calculation Sectionsvar s = event.target.name;var suffix = s.substring(s.length-3);var prefix = s.substring(0,5);var price = this.getField(prefix + "Price " + suffix).value;var quantity = 0;for (var i=0; i<this.numFields; i++) { var fname = this.getNthFieldName(i); var newName = f
Hi,I'm trying to get a certain buttons to appear depending on score returned in a given box...but it's not working.I can get it to work when there are fewer options and threescore is a > thing, but equal to and more options, I'm struggling with.Can anyone see where i've gone wrong?var nResult = this.getField("score").value;if ( nResult = 200 ) {this.getField("adventure_seeker").display = display.hidden;this.getField("mountain_climber").display = display.hidden;this.getField("deep_diver").display = display.visible;this.getField("JOINT AS_MC").display = display.hidden;this.getField("JOINT AS_DD").display = display.hidden;this.getField("JOINT DD_MC").display = display.hidden;this.getField("no_score").display = display.hidden;}else if ( nResult = 160 ) {this.getField("adventure_seeker").display = display.hidden;this.getField("mountain_climber").display = display.hidden;this.getField("deep_diver").display = display.visible;this.getField("JOINT AS_MC").display = display.hidden;this.
To start, I'm a noob when it comes to JavaScript. So, sorry right off that bat!What I'm trying to do is email certain individuals based upon country, then state, then zip code within a range. For example, for folks in Texas, only a few handle accounts within a 5 digit zip code range with a prefix of 750**. I've set the field variable in the code for zip_code but, I'm not sure how to have it look for zip codes under a "wildcard" search. The following is the code and I've indicated the lines below in red and bold that I need help with. Please help!var state = this.getField("state").value;console.println("state: = " + state);var country = this.getField("country").value;console.println("country: = " + country);var zip_code = this.getField("zip_code").value;console.println("zip_code: = " + zip_code);var email = "";if (country == " - Select a Country -" && state == " - Select a
So, i got a button which grabs a employee number from a field and adding it to another field. I want my from to add a number behind the number it just grabbed, but so far i can only get it to add the number to current number instead of putting it behind it. Everything else i've done is wrking (Got an alert if the field the button grabs data from is empty and got it to grab the number and paste it in the field) but from here im lost. Everything i've tried just aint working. This is my current code.var f = this.getField("Medarbejder nr").valueAsString;var v = this.getField("Løbenummer").valueAsString;var msg = "Udfyld medarbejder nummer først";if (this.getField("Medarbejder nr").valueAsString=="") {this.getField("Løbenummer").valueAsString=="" && app.alert(msg,1)}else { this.getField("Løbenummer").value = util.printf(this.getField("Medarbejder nr").value +1);}I understand the +1 in the last line is what is wrong, but i dont know what to replace it with.Thanks.Ed
I need a date field to calculate that date plus 45 days, and have the new date populate in another date field.
I've been searching for a few days now, but every solution I've come across is years old and none of them have worked for me. Here's the issue I'm facing:I need to create an interactive PDF file that carries a large number of hyperlinks to a folder on a network drive. The PDF features various versions of a client logo and needs to link to both .ai and .png files of each version, but I do not want it to open the logo files themselves — only the folder they are contained in.I have tried pasting direct paths as hyperlinks within InDesign as well as in Acrobat, but the result is never right. When this gets sent to anyone using Windows (I'm on OSX Yosemite 10.10.3), it either doesn't recognize the path (OSX uses forward slashes) or replaces every backslash with "%5". For example:file:///G:%5FolderOne%5FolderTwo%5FolderThree instead of file:///G:\FolderOne\FolderTwo\FolderThreeTo summarize, The PDF has four versions of a client logo. Each as an Illustrator file and a PNG. I need to link my c
Good Afternoon from Indonesia, im sorry im asking again, im new on javascript, i make some goal achievement, the user has to fill and fill the check box. my boss want every time user fill the checkbox there is some progression bar that increased 10% (the checklist is 10) . Could you help me? Thanks,
Hi i try to do order form but i stuck on one thing and cant get my head rounded why this dont work.I need calculation script which will shown in Total Net field sum of all TPrice in table. I tried few thinks nothing seems to work.
Hi.Is there a way or a known script that can list all hyperlinks in a document?In the JS Reference I found the script that count all hyperlinks on each page, but what I need is a list of all target URLs for each hyperlink.I tried to wrote my own script but it don't work.It's for checking purpose, my client wants to check all hyperlinks in its document (about 400 hyperlinks…).
I am trying to get a form to auto fill from a tab delimited text file when a button is clicked.I have a Mouse up triggered run JavaScript that is runningthis.importTextData("/c/Users/username/Desktop/filename.txt", 0)When I manually enter the data through Manage form data > Import data it accepts the data just fine so I know the file works I just want to make it so it can be run with just the button.What am I missing?
Checked the web & forums, no joy. Version in use Acrobat Pro DC 2015 Release (Classic) Version 2015.006.30119Issue: Redaction of text clips the bottom of the row above due to redaction tool selection box height attributes. Initially desire to redact with white fill. Unacceptable result. I have an option to insert word "[Reserved]" using Properties Appearance\Use Overlay Text, and Redacted Area Fill Color set to "none" or "white" but I get the same result, regardless of Font Size set.Text alignment is Top justified and I cannot see how to change this. I can Left/Center/Right justify text alignment, but not vertically. If bottom justify was available I believe it would work.Is there a way, with the version in hand to either adjust the redaction tool box height (for text redaction, not image) or to force bottom justify of the Overlay Text desired?The only immediate solution I can find is to hover outside the test to get the cross-hair selector, size my own box
Hi,I need a script to print out page 1-6 three times and page 7 one time. I have made a button with the following script:this.print(true, 0, 6);this.print(true, 0, 5);this.print(true, 0, 5);How can I make this into one code to avoid the print window (ctrl + P) to appear three times?Jenny
Hi,I have a field called «ID.number» where the users fill inn a number. The number contains a birth date and five other digits and will always be in this format: "DDMMYY00000". I want to extract the birth date from the field and add it to a new field called «birth.date.» The output should be: dd.mm.yy (or dd.mm.yyyy) Can anyone help me with a script so I can extract the numbers and add punctuation marks between the digits? (I do not usually work with javascript)I have managed to get the first six digits in the new field, but I do not know how to add punctuation marks. Right now I only get «DDMMYY» instead of «DD.MM.YY». This is my current script:this.getField("birth.date").value = event.value.substr(0,1)this.getField("birth.date").value = event.value.substr(0,2)this.getField("birth.date").value = event.value.substr(0,3)this.getField("birth.date").value = event.value.substr(0,4)this.getField("birth.date").value = event.value.substr(0,5)this.getField("birth.date").value = event.value.su
Hai i have been converting a decimal number to english word using below script. Is anybody help me to convert the same to arabic word ?var th = ['', 'thousand', 'million', 'billion', 'trillion'];var dg = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine'];var tn = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen'];var tw = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety'];//-------------------------------------------------------function num2String(s1) { var num = s1.toString(); var s2 = num.split('.'); var decPoint = ''; var lang = ''; if (s2.length > 1) { if (s2[1].length == 1) s2[1] = s2[1] * 10; if (getField("ddlDebitCurrency").
HI,I want to use app.activeDocs to detect when there are no more active pdf's. I tried putting:if (dd.length == 0)if (dd.length == null)if (dd.length == false)if (dd.length <1)if (dd.length !=1)into the following code:{ app.beginPriv();var dd = app.activeDocsif (dd.length ==0){app.alert ("hi")} app.endPriv(); });Note I cannot use folder level scripts as I am unable to get permission to put on user's computers.Using Acrobat X Pro
Need help writing a custom calculation script. The script needs to be written so that if "Field1" = 80 and "Field2" = 10 then it returns John, but if "Field1" = 99 and "Field2" = 75, then it returns Jane.I tried using some other scripts that I found, but they wouldn't work. It would usually just always return the value of my first "if statement" regardless of whether it was true or not".Also this is for Acrobat Standard DC.Thanks!
Hi,I want to change the color of the highlight color and found this script, but the only colors I get to display are the ugly yellow, green, blue and white. What is the correct way of adding f.e. rgba(,244, 109, 45, 0.5) instead of yellow?app.runtimeHighlight = true;app.runtimeHighlightColor = color.yellow;
I would like to create a popup pdf form withing a pdf document. The popup will be visible when a user click form, after completing the popup form to submit via email. Any ideas? and what software will allow me to do thins. Thanks a bunch
I want to convert scanned pdf (images) to pdf files. Do we have any sdk / api for Adobe Document Cloud which I can use to call the 'Create PDF' service
Hi,I have a batch labeling action wizard which stores the starting document # in a global variable as "global.dnum". The default start value is 1 (e.g., document 1). I noticed if the user does not completely close Adobe Acrobat after labeling a batch of documents and then starts the action wizard again to label the next batch of documents, the action wizard skips the first document and instead labels the 2nd document with document 1 instead of document 2. My guess is this happens because the global variable needs to be reset. How can I force a reset/refresh of global.dnum so the user can label a set of say 10 documents and then label another set of 15 different documents, etc. without having to close Adobe Acrobat to ensure the right starting document number of 1 for each batch of documents?Using Acrobat Pro IX.Thx.Sue
I've created a numerous amount of check boxes to populate a sentance in one main text area. I have this basic code used under Custom Calculation Script: ------------------------------------------------------------------------var a =""if (this.getField("sample text").value =="Yes"){a=a + "R - sample text. "}event.value=a------------------------------------------------------------------------When i go to the main text area that contains that code and i click in it...i see the populated sentance i wanted, but what i want is to add more text to it....when i try to type in..it shows up fine, but when i click out of the text area, it disappears...i need it to stay.please help.
Hoping someone can help me...I have a adobe form with a text input field alongside a checkbox. I want my javascript to basically do the following: check the number inserted by the user into the text field and then spawn template pages (amount equal to that of the number inserted in the text field).This is the code I have so far however it is not working, can someone tell me what I am doing wrong? (by the way, the code is inserted as a mouse down action on the checkbox). The name of the text field is "buildingsNumber" and the template name is "buildings".var bAmount = document.getElementById("buildingsNumber").value;var t = this.getTemplate("buildings");for (var i = 1; i <= bAmount; i++)t.spawn(i, true, false, XO);
Hi,I've created a PDF form with yes/no questions. In the last field I want to see the summary of the amount of 'ja' (= yes) answers.The field ID's range from Tekstveld 1 (= Text Field) to Tekstveld 37, with no. 38 as the 'total' field.I've found a Java code and tried to edit it to my needs, but I'm not getting it...// Initialize counter variablevar sum = 0; // Loop through the fieldsfor (var i = 1; i < 37; i += 1) {// Add one if Teksveld is set to ja if (getField("Tekstveld" + i).value !== "ja") {sum += 1;}} // Set this field's value to the sumevent.value = sum;Can someone help me to get it right?Thanks!
I've created a button that uses JavaScript to add a template page to the end of our document. The button works, but it is greyed out. I titled the button "Additional Page", but the button is solid grey with no font. I've checked and the fill color is grey and the font color is black.I'm not sure what to do!! I'm not familiar with JavaScript - found the code online, so detail is appreciated.This is the code I'm using. var a = this.getTemplate("Page 5");a.spawn();In Prepare Form Edit mode, the text shows up, but it doesn't in Preview mode.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.