help logoLON-CAPA Help


externalresponse is an advanced type of response tag that implements the ability to have an external program grade a response. It expects either a textline or textfield inside the tag. Possible attributes are:

The form sent will consist of

The response of the remote server needs to be in XML as follows:

Example:
 <loncapagrade>
    <awarddetail>INCORRECT</awarddetail>
    <message>
A message to be shown to the students
    </message>
</loncapagrade>