[LON-CAPA-users] Referencing a part with multiple responses in a sequence

Stuart Raeburn raeburn at msu.edu
Tue Oct 9 11:14:34 EDT 2012


> (&EXT('user.resource.resource.210.11','inlab4') eq 'excused')

Try the following for the excused status option:

&EXT('user.resource.resource.210.solved','inlab4') eq 'excused')

Stuart Raeburn

Quoting "Mills, Douglas G" <dmills at illinois.edu>:

> Hi All,
> Hitting a new twist in our ongoing saga of collecting data inlab and  
>  passing it via sequence references to postlab for students to work   
> with. We're only letting them access postlabs if they have entered   
> all of their data in the lab OR if the instructor excuses their   
> first lab data entry (saves the instructor from having to excuse all  
>  entries).  The code for the conditional in the sequence allowing  
> for  the  looks like this:
> (&EXT('user.resource.resource.210.11','inlab4') eq 'excused')
> This has worked great for the first three labs because the first   
> three labs have each had only one response (response id 11) in the   
> first part (part id 210).  In lab 4, however, we have two responses   
> in Part 210: response id 11 and response id 12.  Excusing apparently  
>  takes place at the part level.  How should that be indicated in the  
>  conditional for the sequence?  210.11 does not work. I tried just   
> removing the response id but simply having 210 does not work either.  
>  I thought maybe it's analogous to not having parts in a problem and  
>  referencing it as 0, but 210.0 does not work.  Can anyone point me   
> in the right direction here?  Thank you!
> Doug
> Douglas Mills
> Director of Instructional Technologies
> Department of Chemistry
> University of Illinois
> dmills at illinois.edu
> (217) 244-5739

More information about the LON-CAPA-users mailing list