Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Browsing all 12130 articles
Browse latest View live

JavaScript Calculation in PDF

I am trying to create a calculation that allows my customers to calculate their cost. (Sounds simple...but I am new to JavaScript so I am struggling to fix it) Objective: I want the formula to...

View Article


There's got to be a simple line of code to do this

I'm trying to change the color of a radio button after a click event on a button that grades a test...below is a sample of my code for the first two questionsRadio button info; Name Q1, Q2, Q3 -----...

View Article


remove NaN error message

Is there a way to get acrobat to NOT display the "NaN" in a field?  I just want it blank if the formula has a problem.

View Article

How to save a PDF file with a different filename in the Save as Dialog Box...

How to save a PDF file with a different filename in the Save as Dialog Box Adobe Acrobat?Currently I am saving the PDF file with the Save dialog  Box with the below code:app.execMenuItem("SaveAs");...

View Article

Removing Tab Stops in Acrobat XI Pro

Is it possible to remove a tab stop on fields or buttons for Acrobat XI Pro?  I have found how to change the tab order, but not remove a tap stop.  Thank you.

View Article


Problems with Javascript - toString()

Since AR 11.0.11, there is a problem in our Javascript: var aebPDFXFALib = new Object();aebPDFXFALib.version = "1.0";aebPDFXFALib.build = "63"; aebPDFXFALib.toString = function toString() { return...

View Article

autofill date fields with today's date - Acrobat DC ?

I had auto fill a form field with today's date working well in Acrobat 10, but having trouble getting it working in Acrobat DC. I have a form with 3 date fields named Date_1, Date_2, and Date_3.  I...

View Article

If Else Statement for PDF Form

I am unfamilar with JavaScript and need to create a calculation for a PDF form. The form is used to determine profit. There is a radio button called payroll with two values, "internal" and "external"....

View Article


one checkbox triggers the event of another checkbox

I want to check one box and have the event of another box occur not just check the other box.  i tried: var a = this.getField("checkbox1") var b = this.getField("checkbox2") if(a.value== 'Yes'){...

View Article


Count Fields with If Then Statement

Greetings, I am using Adobe Acrobat Pro XI.  On a form I have created, there are fields named "RLRow1", RLRow2", RLRow3" etc all the way up to RLRow13 assuming there are 13 rows of data needing to be...

View Article

Adding Month to Date

I'm trying to figure out how I can add a month properly to the date from a text field. I can add days (30, 90, 180)  but I need it in months (accounting for  leap year and such)So if the date is...

View Article

May security update (11.0.11) broke custom object prototype for toString and...

Customers have noted that since updating their clients to Reader 11.0.11, certain form functionality has stopped working.  Best I can determine, it comes down to a change that results in objects not...

View Article

Acrobat X -- Reorder Pages by Bookmark Sort Order

Is there a way to programatically / automatically re-order the pages of a PDF by sorting them according to bookmark order? I have 56 pages and each one has exactly one bookmark, which is numerical.  I...

View Article


Image may be NSFW.
Clik here to view.

Can someone help me with creating Javascript to change Bookmark names?

I do not know the first thing about Javascript - just putting that out there. I found Javascript to createChild and insertChild, however I cannot find anything to rename the bookmark. You can see in my...

View Article

Script to Split PDF files on Bookmarks

I'm totally new to Java scripting.  What I'm looking for is a script I can run from batch processing with professional that will look at a collection files in s directory and split ech one of them on...

View Article


Split PDF Files by Bookmarks

Can anyone please let me know how do I split PDF Files by bookmark using Java Script.I am making a Visual Basic utility to read the bookmarks in PDF Files and split them based on the bookmarks. I am...

View Article

net.http.request in a document level script

Is this truly not possible as the documentation says?Seems to work with a GET verb in a certified document which is trusted on the client running Pro...

View Article


Change color on focus

Hello, I am seeking help on how to change the color of a field or button to yellow "on focus" and then back to the original color on "lost focus".  Any suggestions?

View Article

Could someone explain Radio button Groups and how to identiy the individual...

I take it there is a way to declare the group name and then identify the individual radio buttons within the group by there out put or "radio button Choice: text that has been entered and is different...

View Article

How to set a javascript reference to show different filename using Adobe...

How to set a javascript reference to show  different filename using Adobe Acrobat Javascript? myTrustedBrowseForDoc = app.trustedFunction( function ( oArgs ) {           app.beginPriv();...

View Article
Browsing all 12130 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>