Closed

Java Script ro dropdown box ofr PDF

We use LifeCycle to create our Acrobat PDF forms and I need some JavaScript to put into my application. you could write either JavaScript or a FormCalc formula for LifeCycle.

Here is what I need:

1. I want to be able to create a dropdown box on the form.

2. Within the dropdown box, I would like to popupate it with the names of some of fields that are in the PDF. (Some may be Text Fields or Calculated Fields)

3. Then what ever the User selects within the dropdown, the script will go to that particular field, and extract the information form that field and place it in a new field for display.

EXAMPLE:

Suppose we have 5 different books that are in the dropdown box.

Book 1

Book 2

Book 3

Book 4

Book 5

lets say that elsewhere in the PDF, the prices have been calculated or have been defined as:

Book 1 Price listed in a field is: $1

Book 2 Price listed in a field is: $2

Book 3 Price listed in a field is: $3

Book 4 Price listed in a field is: $4

Book 5 Price listed in a field is: $5

For the result, there will be a display box on a different page within the PDF that shows the actual price of the box.

If the User selects Book 2 from the dropdown box, the displayed price will be $2.

END

Skills: Javascript

See more: acrobat javascript dropdown javascript, java dropdown box, what is new in java 1.5, new in java 1.5, javascript lifecycle pdf, box script pdf, what is java for, calculated fields form, RO, pdf script, javascript java, java script, dropdown, box, acrobat, extract javascript, acrobat pdf javascript, acrobat javascript create, java create pdf, pdf extract information, acrobat javascript form field, javascript write display, pdf form javascript, javascript acrobat pdf, java pdf form

About the Employer:
( 1 review ) Tierra Verde, United States

Project ID: #598050