Total field calculation
i trying create script adds total field both correct , incorrect responses based on color of text. instance incorrect reponse turns red the correct response black. i have running total of both response.
example
| header 1 | header 2 | header 3 | header 4 |
|---|---|---|---|
| q 1 a | q 2 c | q 3 a | q 4 a |
| q 5 b | q 6 a | q 7 d | q 8 d |
| q 9 c | q 10 b | q 11 c | q 12 d |
| q 13 a | q 14 d | # wrong 3 | # correct 11 |
you'll need use custom script go on of fields, checking textcolor property , based on color decide whether or not use them in calculation.
if provide field names code.
More discussions in JavaScript
adobe
Comments
Post a Comment