The
"source" field is not required, and in fact it only occurs for users of
webwork with "professor" privelages. (It is used to allow editing of a
problem through the browser.) The "key" is required and is simply a
time limited password. This reduces the number of times the login
password is transmitted, and it also insures that if a student leaves a
browser open at a public work station, eventually they will be
automatically logged out. It is generated randomly, so it can't be
reconstructed.
All of the values returned by the "problem" form are available within a webwork problem in the
reference hash "$inputs_ref" (see http://webhost.math.rochester.edu/webworkdocs/docs/pglanguage/reference/environmentvariables).
It is also possible to call an applet from a problem and using
javaScript to include the output
of the applet in the information that is returned to WeBWorK. No one
has actually implemented this yet, so I can't point to an example, but
you can look for appletLink on http://webhost.math.rochester.edu/webworkdocs/docs/pglanguage/pod/PGbasicmacros in order to get started. Perhaps this would help in your situation.
<| Post or View Comments |> |