How to calculate fields in an AcrobatDC form using javascript? [closed]

1

I have a PDF form and I want one of the items to work as follows: After the fields A, B, C, and D are filled, at another point on the form, A, B, C, and D appear as options for one listbox. According to the chosen option, the original field (A, B, C or D) is added to Field Y, and the result appears in field X. How to map the field to be added to the listbox? Detail: I do not understand anything javascript, just enough to copy the code from one place and paste in the other, replacing the field names.

I'm using Adobe Acrobat DC, which allows me to create forms with an intuitive interface, but that uses scripts for calculations. It allows me to take two fields and calculate within that interface, but I do not know how to deal with the listbox.

I think I know how to best explain what I need: I want to know how to work the listbox to import the value of the other field so that I can add the listbox object (if it is possible) to another object. Example: My listbox has options A, B, and C. Let's assume that A equals 5, B equals 4, and C equals 7. These values will be entered by the end user. What I want is a way to make the value of the selected object, A, B or C, temporarily become the value of my listbox so I can add listbox + Y.

    
asked by anonymous 21.11.2016 / 02:21

0 answers