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

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


How to create an array in one field and have another field display certain...

I am making a form in Acrobat XI pro. In one text field, I created an array of several elements. I want other text fields to display certain elements from that array. For instance, one field should...

View Article


Adobe Reader DC: hostContainer not worked on IE

Adobe Reader DC (15.007.20023.2203): "hostContainer" not worked on IE I use message communication between HTML JavaScript and Adobe Reader JavaScript. But I found "hostContainer" property of Doc object...

View Article

Toggle visibility of a layer or group of layers without changing every layer

Hi,  I'm creating a set of layered PDF maps (in this case from AutoCAD but I use Illustrator and ArcGIS for the same task at other times). Anyway, the layers created in the PDF are named according to...

View Article

Formula for if and then statements

hello, please excuse my lack of knowledge in this field. What I want to do is create a very simple form. I named 4 boxes: a, b, c, and d. Box a gets an end result out of other boxes (let's just say...

View Article


PDF to TXT Conversion

I'm using Acrobat Standard 8.1.0.I would like to run from Excel VBA a process to convert PDF files into TXT files. The same affect of opening the files in Acrobat and clicking on Save As and changing...

View Article

javascript that can convert numeric values to words like

Can anyone help me in this matter. I want to make automatic conversion of number to word likeex. 300 = Tree Hundred, in different box. Thanks in Advance

View Article

division javascript

hello is this corect?// Get field values as numbers      var v1 = +getField("B19").value;      var v2 = +getField("Textfield37").value;       // calculate this field value      event.value = v1/v2;

View Article


Script to determine days between dates

I'm totally new to JavaScript.  I'm attempting to do a calculation field with a custom calculation script.  I've tried to piece together something with script I've scavenged from multiple forums, but...

View Article


Dependent dropdown lists in Acrobat

Hi, I am a first time poster and was looking for help with some scripting in a PDF form I have created. I am basically looking to have a second dropdown list dependant on the value of the first but I'm...

View Article

Populate text box from drop down selection?

PDF form/javascript:  I  would like to create drop down box in which I can select the name of a care center/hospital and have the box fill in with the address/email/phone info for that care center....

View Article

reader plugin and form submit function inside a browser. *any help or idea...

ok I'm pretty sure this is the wrong place, but i was looking to see if there was an adobe reader plugin for browsers and if so if there is a way to overwrite the default browser pdf viewer setting...

View Article

Is there JavaScript to turn on toolbar buttons in Reader X (in browser)

Is there some JavaScript to turn on tools in Reader X (when Reader is launched in the web browser).  I need something that is the opposite of this script;app.hideToolbarButton("Tool");   i.e. I need an...

View Article


Using Javascript to Crop Pages in CropBox based on TrimBox

Hi Is there a way to set crop sizes in mm into CropBox based on the sizes on TrimBox, with Acrobat Javascript?(From the Crop Pages menu) Scenario:set TrimBox sizes (top, bottom, left, right) to CropBox...

View Article

open file using Javascript

I am trying to open a file using a javascript dropdown menu. I know acrobat allows users to open a single file using the standard features, but I have about 30 different files that need to be...

View Article


Creating PDF in Javascript in Adobe DC?

Hi, Just wondering if anybody knows if creating a PDF in Javascript will get any easier in Adobe DC? I need to generate a report in Javascript. - The Report object doesn't give me enough control over...

View Article

How to Apply Security or Remove in Batch using Acrobat X

I’m using Acrobat X Pro. I’ve used Acrobat Pro 6-9. I need to remove security in batch and apply security to about 100 PDFs. I’m totally lost in Acrobat X. Where are all of the batch sequence commands...

View Article


Top Level Menu

Can you add a menu to the top level menu instead of a submenu for one of the existing ones, my client wants to have a menu item at the same level as File or Edit. In one of my past lives I was able to...

View Article

Acrobat Pro X document open event

Hei, Where I can find document open event. I would like to save my pdf-form when I open it? If there is no  action wizard for this purpose, can somebody tell me how I can script this. Thanks to your help!

View Article

JavaScript Validation to Submit Form

Hi,How do you validate all the fields in JavaScript when the user clicks the Submit button so that if any required fields are empty or any field validation fails, nothing (submission, JavaScript code,...

View Article
Browsing all 12130 articles
Browse latest View live


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