[LON-CAPA-users] making survey response a parameter in other questions

Ray Batchelor lon-capa-users@mail.lon-capa.org
Wed, 24 May 2006 01:24:33 -0700


Well... what I proposed appears to be working, more or less as I had hoped.  
I'd still like any suggestions or comments, though.

:-)

On Tuesday 23 May 2006 23:56, Ray Batchelor wrote:
> I'm making an assignment in which the first question is a simple survey
> (radiobuttonresponse).
> I want to use the result of the survey question to select parameters used
> in subsequent questions.
>
> I am proposing to put all the questions for the assignment into a published
> sequence and use the advanced RAT to set a map alias for this survey
> question.
> I then hope to be able to grab
> the submission for that question for use in the perl script of subsequent
> problems in the sequence using:
> user.resource.resource.0.11.submission
> I'm going to restrict the initial survey to maxtries=1 and make the
> questions appear one at a time, so that a student will not be able to
> change the versions of the questions they get ,by changing their survey
> response.
>
> I am assuming that it is best (if not absolutely required) that all these
> questions be in the same published sequence.
>
> Unfortunately, I guess I will have to publish the sequence and import it
> into a course before I check whether or not this all works according to
> plan. Perhaps I should have a default which takes effect if the survey
> submission result is nul?
>
> Misconceptions?
> Comments?
> Pitfalls?
>
> Thanks,
> Ray
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users@mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users

-- 
Raymond J. Batchelor PhD
Department of Chemistry
Simon Fraser University
V5A 1S6