Hi Shnoulle,
Sure, I wrote a bit of JS to calculate a score based on answers from a radio list (e.g. choice1 = 0points, choice2=5points, etc.)
To do so, I used the questions IDs and at first I stored everything in a multi-dimensional associative array like the following:
,
'1234X1X2' => [0,10,20,35],
...
]
That's question ID => Scores for answers 1..X
For some reason when looping over the array using foreach, Safari and Chrome would loop too far resulting in a JS error and preventing the display of the progressbar.
Hope this is somewhat clear
Cheers and thanks for the help again,
Laurent