[LON-CAPA-users] Any way to do this???

Gerd Kortemeyer korte at lite.msu.edu
Thu May 24 18:21:29 EDT 2012


Hi,

On May 24, 2012, at 6:16 PM, Mills, Douglas G wrote:

> Ok. Got it. Then with multiple input fields within the same response, is it
> still possible to access them elsewhere in the code

Yes.

> (or in a MAP Sequence
> for that matter)

Yes.

> via something like
> &submission(partid,responseid[input_index]) OR maybe
> &submission(partid,responseid,input_index)  ???

In this case, &submission returns a pointer to the array:

$data=&submission(partid,responseid);
$entry=$$data[0];

It's just such a beautiful system :-)

- Gerd.




More information about the LON-CAPA-users mailing list