Java Script ro dropdown box ofr PDF
Orçamento $30-250 USD
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