I've got a control loop that has two parts to it (kind of a 'testing' app)
The first one, I've got licked, as it's radiobuttons that I'm looping through - need to see which 'one' is checked.
But, the second instance, where I have checkboxes, I need logic to make sure that 'all' the right ones are checked.
So far, I have:
for each ctl in controls
if ctl is checkbox
for each ans in answers
if ctl.name=ans then
'accumulate 'right' answers?
I'm kind of stuck - and I may be headed in the wrong direction.
Basically, I've got an array that contains 2 or more elements relating to the correct answer (that's why this is so easy with the radiobtn).