Using Drop-Down fields for addition and subtraction
Good afternoon! I am making a self-assessment in adobe pro. I have 64 drop-down menus, named Dropdown1, Dropdown2, and so on. Each drop-down menu has a value of 0-10. I am trying to create several calculated text field boxes using the values chosen on the drop-down menus. So, for instance, we add up four drop-down values, add 40, and subtract four drop-down values for a total.
So far I have tried:
Dropdown1 + Dropdown2 + ... + 40 - Dropdown20 - Dropdown25 in the Simplied field notation box.
That just kicked me back to the "Value is Not Calculated" when I click "OK".
I tried the same formula in the Simplified field notation box but took out the spaces in between the names. Same result.
Next, I tried the Javascript function. event.value = getField("Dropdown1").value;+getField("Dropdown2").value; ... +40-getField("Dropdown5").value;getField("Dropdown6").value;
After clicking OK, this also just kicked me back out to the text field properties.
I am obviously doing something wrong, or what I am trying to do is not possible. Any ideas?
