[LON-CAPA-users] Sequences with Multiple Conditionals

Mills, Douglas G dmills at illinois.edu
Tue Jun 7 11:56:24 EDT 2016


HI All,

I had meant to look into this further at the conference (and thank you to hosts, organizers and presenters for the great conference!) but of course forgot.

We have a Lab Safety Quiz that students have to complete before they get access to the content for our two lab courses. That's been working fine for years using a sequence that blocks access to the rest of the course if all the Safety questions are not answered correctly. Now there is a desire to limit the number of attempts students have on the Safety Quiz and require those who don't pass within that number of attempts to meet with the Teaching Lab Specialist. To try and make that happen, I've created a "You have to meet with the Teaching Lab Specialist" html page, added it to the sequence as a second branch following the Lab Safety Quiz and put a conditional in front of it that looks at each part of the Safety Quiz to see (a) if it is incorrect and (b) if all tries have been used.  If both of those conditions are met on any of the Safety Quiz Questions, then the condition should evaluate to True and the HTML page with contact information, etc. should show.

But it's not working. AND the rest of the code seems to have stopped working too in terms of allowing students who complete the safety quiz to access the rest of the course content…  I've looked carefully at the new condition and *think* I have it right. I did not make any changes to the other condition though and it no longer works, so I'm thinking that there is something I'm missing with regard to having two conditional branches off of one resource.  Thoughts, cluds or solutions?  I can send code if that will be helpful.

I'm open to doing this in other ways also if anyone has alternative suggestions. Thanks!

Doug

Douglas Mills
Director of Instructional Technology
Department of Chemistry
University of Illinois

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20160607/962c524e/attachment.html>


More information about the LON-CAPA-users mailing list