I am creating an attendance form. I have several drop-down lists with the text values of "p" "a" and "l". Each of these letters has a value of 1.
I also have 3 numerical fields. I would like a form calc or java script that would add up all the values of only "a" and place it in numerical field 1, then add up all the values of only "b" and place it in numerical field 2, and so on.
Please help.
1. Don't use an export value in the list
2. Get a collection of all of the drop down lists
3. Loop through the collection to build the 3 sums.
If the drop-downs are all named "MyDropDown" then the code could look like this
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script