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

Stefan Bisitz st.bisitz at ostfalia.de
Mon Oct 8 12:34:18 EDT 2012


Hi Doug,

A bit longish, but should work:

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

Stefan Bisitz


Am 08.10.2012 18:10 schrieb Mills, Douglas G:
> 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 excused
> status option 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
>
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>


More information about the LON-CAPA-users mailing list