You can enable the program to submit test, survey, form results and variable data to a server-side, CGI program that can then write the information to a file or database. All information for test and surveys, including the user's name and email address, test questions, test answers, and scores is submitted, enabling you to manage user results from your titles more efficiently and effectively.
All data communicated to the CGI program are reported as name/value pairs:
Variable values are submitted with the name of the variable as the name, and the value of the variable as the value.
Form object values are submitted with the name of the form object as the name, and the value of the form object selected or provided by the user, as the value.
For tests and surveys, the name/value pairs that are submitted are fixed as follows:
Name |
Value |
name | The user's name |
The user's email address | |
TestName | The name of the test/survey |
NumQuestions | The number of questions in the test/survey |
PassingGrade | The value specified as the Lowest Passing Score within the test's properties (not applicable for surveys) |
Score | The total score of the test (if it is scored) |
Name |
Value |
QuestionX |
The text of the question |
AnswerX |
The user's answer to the question |
CorrectAnswerX |
The correct answer to the question (not applicable for survey questions) |
QuestionTypeX |
The type of the question. The type of question is identified with one of the following numbers:
|
Use the following information to help you design a script to process output. Combining the information offered here with the expertise of your database manager and IT or ISP staff; you should be able to develop an effective connection between the program and your database.
A programmer knowledgeable in server-side scripting and database integration over the Internet/Intranet should perform the integration between the program and the database. If you have questions about the information contained here, contact the eLearning Brothers Support team. |
The following are examples of scripts that you can use when creating your custom CGI scripts.
See also: |
Customizing the test results |
For titles published to the Web, the script must reside on the same server as the published title content. Cross-domain scripting is forbidden within Web browsers. |
© Copyright eLearning Brothers 2021