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

Image may be NSFW.
Clik here to view.

action broke bookmark link

I'm using Acrobat Pro 10.1.10. I had a folder full of PDFs with bookmarks that were created with the PyPDF2 python module. The only thing I forgot to do was set the open option to open the PDF to show...

View Article


Enabling Comments Script

Hi, My creative team is using Acrobat Pro 8 and we use commenting and markup quite extensively for a paperless workflow. When our creative department sends out proofs to our Product Mgt team, clients...

View Article


Image may be NSFW.
Clik here to view.

Acrobat 9 STANDARD - Calculate Start/End Time

I've spent a couple hours searching the Internet, trying to figure out how to Calculate Total Hours from "Time In" and "Time Out fields". I do not know how to write script, though I've tried copying...

View Article

alert box with multiple checkboxes

hello,is is possible to do a pop up alert box with two (or more) checkboxes?  I stole this code to get a single checkbox // First, setup the Check Box object literalvar oCk = {cMsg:"Yes, I want to get...

View Article

I need to set up an expense form so that our consultant can "filter" by...

I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools,...

View Article


Image may be NSFW.
Clik here to view.

If radio button is selected, text field required-Acrobat form

Hi everyone! I'm creating a form in Adobe Acrobat form 9.0, and I ran into a little problem.There's a section in my form that has four options.  If one option is selected, the textbox to the right is...

View Article

Online Javascript API Documentation??

Where is the online Javascript API Documentation? This link has been broken for over two weeks:http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/wwhelp/wwhimpl/js/html/wwhelp....

View Article

Automatically add page numbers to PDF

Hi all, I've got a pdf document with forms which also contains a "Add Page" button which adds another matching page. What I would like to add to is a "Page 1 of n" type field that auto updates with the...

View Article


Printing a PDF via Acrobat Javascript

Hi - I have a need to print a PDF programmatically, via Javascript.  The PDF is embedded in a Web page.  I use postMessage to communicate with the PDF. I've created a simple HTML page with an embedded...

View Article


Show / hide 3D windows depending on user's choice

Hi everybody.I am trying to create a pdf with several 3D models inside a single page. The aim to show only a single 3D model on a designed area, on the basis of the choice of the user (e.g. selecting a...

View Article

compare two fields and populate a third

I am trying to do the following: Filed A number of days leave leftField B Total number of days requested (some of other Fields)Field C = A - BField D = Listed number of days unpaid to be taken If C...

View Article

Reader and Database

I created a document level javascript database (sort of!) associating numeric codes to strings. if ((mip == "") || (mip == " ")){    text = "";}//A Assistanceselse if (mip == "A100") {    text =...

View Article

show/hide fields based on drop down choices

I have a dropdown field with three choices. Based on the selection, I need a specific text form field to appear, and the others to remain hidden. (Or if it makes the code more clean, the resulting...

View Article


Simple IF javascript for dropdown, populates two different fields

I don't write js, but can grasp what it's doing when I snag a sample to edit and re-purpose. I have a simple fax form that already resets on open. Here's all I'm trying to do: User selects sender name...

View Article

Open file attachment from text links within reader enabled pdf document...

I created a PDF file with embedded sub pdf documents in Adobe Acrobat Pro X.Then I created a link to text part (Actions: Run a JavaScript). The JavaScript code which is executed by clicking the link is...

View Article


mailDoc() bUI parameter

When setting the bUI parameter to true, does it mean the email is sent without the user's interaction throught his default mailing program?

View Article

Code only works if I add Extra character

Hi, so there's a bit of code I use to keep a running list of pages I need to print (puts it in a textbox), solely depending on if certain boxes are checked... So if I answer yes to 3 separate...

View Article


Custom calculation help

I am getting a syntax error with this formula. SyntaError; missing; before statement1: at line 2  Can someone assist.  Thank you. Var v1 = ( this.getField(“Total1”).value +...

View Article

how to "carry over" and calculate YTD fields for 12 months

Need to calculate fields then carry them over to next month and total them. Example:  JAN: "food"= $100  YTD =$100  FEB: "food"=$100 therefore YTD2 would be $200. But I have 7 fields that need to be...

View Article

Time and Date Stamp Format and User name

Hi All, I am very new to adobe acrobat so forgive my ignorance.  I am trying to add a date and time stamp to pdf files using adobe acrobat so that when they are printed using adobe acrobat the print...

View Article
Browsing all 12130 articles
Browse latest View live


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