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

date script can someone confirm that it works....

When a date is entered into "tx4" a text box I want the a date to appear in tx15 that is 1 year later... example.....entered into tx4 (4/25/2015) appears in tx15 (4/25/2016) also do I have to format...

View Article


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


Auto Printing PDF docs in FTP folder

Ok so here is the deal, I have an FTP folder set up in a Windows 2003 server environment. I will be recieving PDF docs into an FTP file a few times a day and I would like to know if there is a way for...

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

Validate text field value

Hello. I found this code: //set the varsvar one = this.getField("Name1");var two = this.getField("Name2");var three = this.getField("Name3");  //this function concatenates two field values into one...

View Article


Alter the value of one field when the value of another field changes.

I have a standard order form that has a number of fields where the quantity (number )is typed in  They are labelled qty1, qty2  and so on. Some of the items on the order form attract an additional...

View Article

Expand/Collapse all the Bookmarks in a PDF file

Hi, This is my first message on the board :-) I work with very large PDF files (i.e 2000 pages, 700 bookmarks on 5 or 6 levels!) and I'm looking for a script (Acrobat 9 Pro) allowing to expand/collapse...

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


Batch Process Field Names

I cant seem to find a definitive answer or examples of this anywhere, but I have about 3500 filed names that need changing. Is it possible to create an action to change these field names, or is there...

View Article


JavaScript to collect correct answers

Hi, in my form 4 questions are there. bellow that question i have add text fields to add correct answer. bellow the 4 question another text fields available to collect total points. my question answers...

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

Acrobat 11 Javascript (event.target.buttonImportIcon();) problem (Image) open...

Hello to everbody (sorry for my bad English). I have done a kind of card (Form), where I need to have: the name, age, the book he likes to read and few more things, like to have one image of the kid...

View Article

i need to convert

Hi, I know nothing of Java script but I have an excel formula of  =IF(D20<5, D20*29, IF(D20<11, D20*28, IF(D20<21, D20*27, D20*26))) I need to convert this to a fillable form on a PDF.  I know...

View Article


Submit with new file name

Using Acrobat XI, Is there was a way to script an Acrobat PDF form so the filename could be saved using the information from the form. For example, if the form contains fields for First Name, Last...

View Article

Custom Format Script Help

I am not too familiar with scripting but am hoping someone can provide some guidance or at least somewhere online that will show me how to do this.  Here's what I'm trying to do: I have a text field...

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

xfa.host.exportData("",0); can not work in adobe reader,why?

form1.Config.Button1[0]::click - (JavaScript, client)  xfa.host.exportData("",0); export .xml file,It works in adobe acrobat XI. In adobe reader,when click the button,can not work. why? thanks~

View Article


Add Curent Date & Time to PDF when Printed

This is my first post so please excuse any ignorance. Basically we are in the process of creating electronic copies of SOP’s and putting them on our file server for all staff to access. Due to...

View Article

Simple Check Box counter...

I have 6 check-boxes and a form field below them named "YESTotals". I need to have the "YESTotals" form field to display (in real time) the total of checked Check-boxes at any given moment the FORM is...

View Article

SyntaxError: missing ; berfore statement

I've got two "Date" fields/text boxes my goal is to enter a date in the "PO DATE" field/textbox then add 5 years to this date and have the new calculated date appear in the "REVIEW DATE" field/textbox...

View Article
Browsing all 12130 articles
Browse latest View live


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