Questions
Recently active
I have created an Adobe Acrobat form that has a textbox that retrieves the windows logged in user using JavaScript with identity.login. This works fine when the document is opened with the Adobe Reader. I have uploaded the document to our SharePoint Online. The document now opens in the browser in SharePoint Online, but, fails on retrieving the login of the user. How can I make this work?
i have 2 pdf pages Page 1 and Page 2 on adobe DC.User have option to duplicate Page 2 and create Page 3.Now i want a code to run only on page 3 when user work on page 3.... i try this :if (event.target.pageNum=1){this.getField("Text26").value = event.value;}if (event.target.pageNum=2){this.getField("Text26_1").value = event.value;}but the value takes in Page 1 and Page 2! I want only go to Page 3 if user work in this page........................
Hi Folks,There is a pdf image I would like to save as a jpeg, so i can post it on the likes of LinkedIn. Can I use Adobe to do this? If so, any pointers would be much appreciated. Thanks
I know, I know.. this is the JavaScript forum... but, I cannot find out how to start the check box naming at "1" again... I have many check boxes to add to my form, but the automatic field name stars at "Check Box20" (this session) and auto counts up from there. If I rename it to "Check Box1" and then add a new check box, it names the next one "Check Box21" and so on, instead of naming it "Check Box2."I couldn't find anything about this in the Acrobat X pro guide or after several Google searches. This has to be simple to do!!
Hello!I'd like to show or hide a few fields based on the answer given in a previous field.For example if the number in "Total" is 0-9, then Field 1 will appear. If the number in "Total" is 10-19, then Field 2 will appear. If the number in "Total" is 20-29, then Field 3 will appear, etc.I can't seem to find this situation in any previous posts.Thanks in advance!
I have used JavaScript code in Acrobat XI Pro in a checkbox to hide and unhide my Template. hide myTemplate//var t = this.getTemplate("myTemplate");t.hidden = trueunhide myTemplate//var t = this.getTemplate("myTemplate");t.hidden = falseWhen using Acrobat DC, I have and error message : Not AllowedError: Protection settings prohibit access to this property or method.Template:hidden:2:Field "My Template page name":FocusPlease help me....
I've been hitting me head against the wall for a couple of days now and seem to be getting nowhere fast.I've studied the samples in the SDK and it all seems a bit archaic. There's a whole mess of stuff in those projects that are *very* hard to read and come with no explanation (that I've found); primarily in PIMain.c. If anyone can point to something that would explain the code in that file, I'd be very happy.There's a bit of black magic everywhere and frankly, I can't seem to figure out why the sample compile fine while my projects don't.I've tried to doing a simple copy of the Starter sample and adding the missing files that it keeps references to; no luck.
I have 3 drop downs and I'm using this script to make them readonly and not,if (event.value == ""){this.getField("TranChec").readonly = true; this.getField("Tran1Htb").readonly = true;this.getField("width").readonly = true; this.getField("TranChec").value = "Off";this.resetForm(["Text2bbb","Text22b"]);}if (event.value == "1"){this.getField("TranChec").readonly = false; this.getField("Tran1Htb").readonly = false;this.getField("width").readonly = false; }else if (event.value == "2"){this.getField("TranChec").readonly = false; this.getField("Tran1Htb").readonly = false;this.getField("width").readonly = false; } //the script goes up to 50.What I would like to do is to eliminate all this script because at times I have to enter a number above 50 in the first drop down. At the moment when I enter a number higher than 50 the other two drop downs remain readonly. So, I'd like to be able to enter any number and the other two drop downs will become accessible and will become readonly on reset. Ca
Using the VB6.0, invoking the interface, loading the local PDF file, the PDF file has 10 pages, and I need to print the 1,3,5 page in a print task
This is probably way simple but....I have this script:var a = this.getField(2 PCT);var b = this.getField(SUB TOTAL);event.value = a.value * (b.value / 100)And get: SyntaxError: missing ) after argument list 1: at line 2Can someone explain this to me?Thanks
I have a new computer with Word 2016 and acrobat XI. When I change the printer on a Word document to print as a pdf, the page breaks change. As a result, I can't make easily make the pdf and word versions be the same. Is there a fix for this?Thanks.
hi, i'm getting "SyntaxError: missing ; before statement" error in bellow code. can u pls help me to solve this issue. thanks..var s1 = getField("aa").valueAsString;var s2 = getField("bb").valueAsString;event.value = "THIS AGREEMENT (the "Agreement") is made on" + s1 + ", by and between Sterling & Pope Publishing Corp, DBA, and hereafter referred to as, "The Painting Pro Guys" ('Master Licensor'), 7462 Chinaberry Lane, Frisco, Texas 75033 and " + s2 + " , of Texas, on the basis of the following understandings and agreements:" ;
I've download and installed the SDK. Where is the documentation for the SDK? I'm looking for latest documentation regarding IAC.where's the iac_api_reference.pdf? where's the iac_developer_guild.pdf?any other pdfs? What kind of crap sdk is this? Adobe should be ashamed for even allowing this crap SDK to be downloaded from it's website. CLEAN UP THE SDK and make it useful.
Hi,I have been researching how to reference fields on spawned pages and have managed to successfully calculate values etc when the fields are on the same spawned page (using the split method based on "."). However, I'm having difficulty getting values from fields that are on separate pages, spawned from a different templates. Hopefully I can present the issue in a logical way....here goes:I have 6 template pages which are spawned from a single user click of a button. These always spawn in order (1 - 6). On the first spawn these are prefixed P1 - P6 as I have a static title page which takes the place of P0. On the second spawn these would then be P7-P12.The first three templates are named PreSurvey1, PreSurvey2 and PreSurvey3.The final three templates are named PostSurvey1, PostSurvey2 and PostSurvey3So, on the first spawn I get P1.PreSurvey1, P2.PreSurvey2, P3.PreSurvey3, P4.PostSurvey1, P5.PostSurvey2 and P6.PostSurvey3. A number of text fields are present on each of these templates.
Hi , I'm trying to ask the user to change his mind if he didn't really want to exit from the (Opened PDF Doc),, so i go to Document Action at (Document will close) and write the following :var cMsg = "Are you sure you want to close ?";cMsg += "\n\n";cMsg += "Contiunue ? \n\n ";var nRtn = app.alert(cMsg,2,2,"Warning ! ");if(nRtn == 4){// A yes Response // Code for doing the thing you do on a yes this.closeDoc();}else if(nRtn == 3){ // No Response //event.value = 0; // assume do nothing beep !this.closeDoc();}else { //Unknown Response beep !this.closeDoc();}But the Above Code is Closing the Document even if the user hit yes or no? ho do i change it to not close the document if the user hit (No)... thanks for any tip
I know next to nothing about coding. Here's my scenario: I have a set of 29 options with drop down selections of Level 1, 2, 3, or 4. I want to input selection rules so that out of the 29, someone can only select the "Level 1" option a maximum of 7 times. Is this possible?This is an example of 1 of 29 options on my form:Here is the legend:Level 1: 1-7 drug classes means that you can only select a MAXIMUM of 7 drug classes as Level 1
I have a couple text boxes as follows:text1 = number that doesn't change (6.5459673)text2 = number that will change based on input from another text box (box1F6)in excel the calculation would be: 6.5459673 (or text1) * (LN(F6))I tried doing this:var nBox = + getField("box1F6").value;event.value = math.log(nBox);but that didn't even put a 0 or any input for that matter. Any help is appreciated! Thanks in advance!
There used to be a list of simple commonly used lines of code for various actions. I can't find that list. Does anyone know where that is?I have a multi-page pdf. On the first page, I have a list of important dates. These dates are based on dates entered elsewhere in the document. I want to enter default statements in the date fields on page one, for example "Enter Delivery Date on pg 2". Once they enter the date on page 2, I want that entered date to populate the field on page 1. How do I do all of this?Message was edited by: Teresa Kassen
Good evening, everyone!Here's the problem. I have a numeric field which is filled in by the end user. After that question, the user is asked to select from a drop down menu of text options. If the selected text option is "Text A" then the numeric field should be validated to a max value of 12. If "Text A" is NOT selected then the max value of the field is 20. I'm trying to use the following script to validate an if/then statement.The script works well when the text is selected first, however, if the numeric value is filled first then the script does not validate the numeric field to 12 unless the user goes back into the box.. Is there a way to have the numeric field automatically correct to 12 if the value is greater than 12 if Text A is selected after the numeric field is populated? Any help is appreciated!// Custom Validate script of a numeric text field(function () { // Get the value of the TextChoices field, as a str
I set up my doc with layers to hide/show all active fields, etc. from anyone not using Adobe Reader DC or Acrobat. I use the script below with .hidden or .visible to control the fields and other script to hide/show text on different layers. I have the script located in a doc level script so that it runs every time the doc is opened. I also have app.runtimeHighlight = true; to highlight the fields automatically.It works, but when the document is initially opened some of the highlighted fields on the first page do not display at all on the screen while others further down the same page display with no issues. If one scrolls to the very next page and then scrolls back to the first page, all the highlighted fields are then displayed correctly. It seems like a "redraw" or "refresh" type issue, maybe?Any suggestions?for (var i = 0; i < numFields; i++) { var f = getField(getNthFieldName(i)); this.getField(f.name).display = display.hidden; }
Is there a way to save data from an attachment when it's opened from Reader?I created a JavaScript enriched PDF form and attached it to a digital flyer. The flyer opens the attachment using the Doc.exportDataObject() method. Everything works great in Acrobat, but not so much in Reader.When opened in Reader, the buttons on the flyer open the attachment in a new tab properly.The form attachment, however, says data can't be saved. When I click submit, it also says the data won't be emailed.Here's what I tried—none of which work:Extending usage rights to Reader in the form that's attachedExtending usage rights to Reader in the flyerExtending usage rights to Reader in both
Pretty much it.Tried restarting computerUninstalling and reinstalling chromeHave no option to delete cookies, check settings and disable extensions since every screen is grey screen.
I have a form where my end user checks boxes next to a list of items wherby selecting each item they would like to include as extras in their new home. Each Item has a different price and some may have more than 1 quantity. At last there is an Amount column. At the bottom, the individual amounts are calculated as a Total of Extras to add to the Homebuyers Purchase. It is currently set up in an excel spreadsheet and is formulated to calculate the amount (Price X Quanity =Amount) based on the true value of the checkbox. And then of course to add all of the amounts to return a Total.Example:Item Price Quantity Checkbox  
Hello,I'm wondering how to revert a pdf file to last saved version via javascript.Any suggestions would be much appreciated.Thanks in advance, M.
Hello everybody,I'm getting some weird behavior when doing a custom calculation for a form field. Here is the Javascript I'm inputting:event.value=(this.getField("Purchase price").value-this.getField("Loan amount").value-this.getField("Additional loans").value-this.getField("Deposit").value-this.getField("Seller credits").value-this.getField("Agent credits").value+this.getField("Reserve req").value+this.getField("Closing costs").value)The problem is, the last field's value is appending to the calculated values above it. So everything calculates and display in the form field (except closing costs), and when Closing costs is filled in, the value gets appending rather than adding to the rest of the values like it should. Does anyone know how to fix this problem, or does anyone have any idea what is going on?Thank you!
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.