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

fields show or hide based on radio button

Hi, in my form there are two radio buttons available. one is for "yes" & other one is for "no". also there are another 6 fields available & as a default that all 6 fields are hidden.  if i...

View Article


Script to automatically change format of date in Acrobat

I know that Adobe has something built in where if you enter the wrong date format it will prompt you to enter it correctly. I am looking for a script that just automatically changes date to correct...

View Article


populate dropdown list from dropdown selection

I have a form field with two dropdown lists. I have seen an example of this in an order form but everything was multiplied out to accomodate several rows and so the coding wont work for what I am...

View Article

Extracting the first page of multiple PDFs & saving them as jpegs.

Dear all, First post - hope its in the right place.I work in Publishing, and I have been given the following task - I have about 400 ebooks, all in pdf format, and my task is to extract the cover from...

View Article

How to Count total number of Words in PDF?

I am used Adobe Acrobat javascript inbuilt function getPageNumWords(<pagenumber>) it return the number of words present in specified page, but while am copy and paste text content from PDF file...

View Article


Automatic Number Generation When Opening an Acrobat Form

Hello, I've created a PDF Job Ticket Form with several input fields using Acrobat Pro, now I would like to have this form automatically generate a sequencial number on each page of the form everytime...

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

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


Convert a complex Excel formula to javascript

I am trying to convert the following equation into javascript: -20+85.8*(c/a)+600*(f/b)+13.4*(d)+0.93*(e)+5.64*(g) I have already designated the texts fields properly as a-g and they text boxes are...

View Article


Showing negative numbers as 0

Box 1: User InputBox 2: User InputBox 3: User InputBox 4: User InputBox 5: (Box 1 - Box 2)Box 6: (Box 3 + Box 4)Box 7: (Box 5 - Box 6) So I'm using the following equation for Boxes 5, 6 & 7: var v1...

View Article

Calculation Order Array - Acrobat Form

I'm attempting to set the calculation order of a couple fields and I want them to always be last. I know I can set the .calcOrderIndex of a field but that only works if I know what field will be before...

View Article

radio button

How can turn On or Off a Radio Button based on a Text Box Score Number?I have tried using a javascript under the radio button dialog box. but I can not figure out how to turn the Radio Button...

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


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

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


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

Sort bookmarks alphabetically

I have several major bookmarks and quite a few subbookmarks below each of the major bookmarks, and the subbookmarks need to be alphabetical within their major bookmark category. I've not been able to...

View Article


Image may be NSFW.
Clik here to view.

Calculate 24-Hour Time (aka Military Time)

I am not very good with JavaScript. Having said that I have had someone send me a script to help me with a form that is built in Livecycle ES4, however, it isn't working form me. It works in the HTML...

View Article

Summation Problem.

I have a series of fields that I would like to sum. I've tried using the script below to hide the field if all of the corresponding fields are blank and also perform the calculation if one of the...

View Article

Custom calculation - Multiple If Statements

Hi Guys I'm stuck with a simple If Statement. New to JavaScript. I have a "Age Field" text field, "Gender" Drop Down field and "Risk" text field.In the "Risk" text field I need to have a Custom...

View Article
Browsing all 12130 articles
Browse latest View live


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