These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Exporting the value of a text field using a combo box

chinagreenelvis
Registered: Mar 6 2010
Posts: 8

I'm creating a character sheet for an RPG, and I'm trying to figure out how to export the value of a text field using a combo box so that the value can be used in calculation for a subsequent field.

Example. Various attributes: Body, Reaction, Agility. Each one has a different field.

Skills are combined with an attribute in order to produce a dice pool. So:

Attribute [Text Field]
Attribute2 [Text Field2]
...
Skill [Skill Text Field] + [(Combo Box for selection of appropriate attribute)] = [Output text field]

I only have a limited space in which to put skills, hence the need for a combo box.

My Product Information:
Acrobat Pro Extended 9.2
chinagreenelvis
Registered: Mar 6 2010
Posts: 8
I'm guessing that I need to write javascript for the combo box in order to populate it with options, each with a value of the corresponding text fields? And then just make the final field a simple addition of the combo box value plus the skill field value...

Can anyone help with the script?