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

Ray Batchelor lon-capa-users@mail.lon-capa.org
Tue, 23 May 2006 23:56:30 -0700

I'm making an assignment in which the first question is a simple survey 
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 
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:
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?