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

ReferenceError: document is not defined....help

I'm trying to add 1 year to the date placed in one text box and have the results appear in another text box. example put date 04/25/2015 in "tx4" (text box name) and I want date 04/25/2016 to appear in...

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


Working with date and time in acrobat JavaScript help request...

This came fromWorking with date and time in Acrobat JavaScript (Part 1 of 3)The following code adds five days to the current date and then prints the new date to the console window. // Get the current...

View Article

Javascript error for Inserting Pages from a source

Below is a script I wrote that isn't functioning properly on my large 200 page document that I need it to. Granted there might be a much easier way to script this, but I'm no expert. I have a 200 page...

View Article

Action that finds specified words and highlight the whole sentence or paragraph

Hi All, I know a action file from Acrobat users group (http://acrobatusers.com/content/find-highlight-words-and-phrases) which find and highlight a set of words using Acrobat action. But, is this...

View Article


How do I make a checkbox autopopulate a text field

I have 2 text fields named MailingAddress and GarageAddress. I would like to have a checkbox next to my MailingAddress field that when checked would autopopulate my GarageAddress with the value from...

View Article

Remove 0 Value in Calculated Field

I copied the below question for another post here as it asks the question perfectly."I set up an invoice form to calculate totals from quantity x unit price. Every line has this formula, however the...

View Article

Calculating in a form

I am once again trying to get this form to work the way that I want it to. The link to the form is here: Dropbox - HAR-080-ICCAEPRegFormFields.pdf I need the US Total Paid by Check or MO Field to...

View Article


Can I update multiple forms with the same dropdown at the same time

I have 20+ forms that have a common dropdown.  Each form has between 1 and 15 instances of this dropdown.  The values in the dropdown are updated on a frequent basis. Currently I have an identical...

View Article


Radio button makes other radio buttons required

I have created a form with radio buttons.  When the user selects credit card under payment options group, I want the radio buttons under group card type to become required.  I have already set it up...

View Article

Extract Bookmarks and page numbers

I am looking for a either a piece of ActionScript or VBA to get all bookmark names and page numbers from a selected PDF and either export as a CSV (ActionScript) or dump into Excel (VBA option).  Any...

View Article

Javascript won't work - JavaScript for Reader Mobile API Reference (Android)

I have created a Form with the new Adobe Acrobat Pro DC (trial version).The Javascript code just won't work on a mobile phone.Doc - JavaScript for Reader Mobile API Reference (Android this shows that...

View Article

Popup / Alert dialogue on close / exit

Hey everyone I have a simple request and I hope there is a simple solution to it - I would like a JavaScript pop up / alert to be displayed when a user closes the PDF document. i.e. Click Okay to...

View Article


Page to print,Size option

In the print in Html Javascript is particular; can set it, or please tell me the possibility what kind of property there is.         document.getElementById('objPDF'). src = "" http://xxxx/xxxx.pdf;...

View Article

"go to page action not supported in pdf."

I want to create a document with "go to page" action buttons, then convert to PDF. I tried InDesign, but I get "go to page action not supported in PDF." I'm using Adobe Pro and InDesign CC,

View Article


Value Entered Does Not Match the Format of the Field

Hi, I am new to JavaScript and development of PDFs with JavaScript.  I have done some research on this error and understand why it is generated.  Currently I'm trying to create a PDF with some basic...

View Article

if then

Hello i have a buisiness with workersi will use two textsif var1 is 10-19 workers then var2=8if var1 is 20-49 workers then var2=9if var1 is 50-9 workers then var2=12if var1 is 100-249 workers then...

View Article


How to send a document in net.HTTP.request as a POST variable?

I have read and reread the doc on net.HTTP.request, and it says I can pass an argument of oRequest, but I have not succeeded at passing in the current document, which is what I want to do. I've tried...

View Article

Why is Acrobat not saving javascript events???

HELP! I'm trying to enter a code with a specific  text field, and Acrobat won't save it... Very frustrating!... Here's what's happening: Select a field (already been saved), go to properties; Go to...

View Article

FILL TEXT

HelloI have 1 text(Text1) and another 12 textsIf  Text1 take the value 8 i would like the first 8 texts(of 12) to be filled.If Text1 take the value 9 the first 9,and if 12 all of them.Help.Thanks

View Article
Browsing all 12130 articles
Browse latest View live


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