From 2657e5167e0c52b1bc2438986012cf255abc2f70 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sun, 6 Mar 2005 00:08:05 +0000 Subject: [PATCH] extend Survey help with new features, document Add/Edit Question --- lib/WebGUI/Help/Survey.pm | 18 +++++++ lib/WebGUI/i18n/English/Survey.pm | 83 ++++++++++++++++++++++++++++--- 2 files changed, 94 insertions(+), 7 deletions(-) diff --git a/lib/WebGUI/Help/Survey.pm b/lib/WebGUI/Help/Survey.pm index 20ff2d2e2..513d0d568 100644 --- a/lib/WebGUI/Help/Survey.pm +++ b/lib/WebGUI/Help/Survey.pm @@ -5,10 +5,18 @@ our $HELP = { title => '3', body => '4', related => [ + { + tag => 'asset fields', + namespace => 'Asset' + }, { tag => 'wobjects using', namespace => 'Wobject' }, + { + tag => 'question add/edit', + namespace => 'Survey' + }, { tag => 'survey template', namespace => 'Survey' @@ -31,6 +39,16 @@ our $HELP = { }, ] }, + 'question add/edit' => { + title => '17', + body => 'question add/edit body', + related => [ + { + tag => 'survey add/edit', + namespace => 'Survey' + }, + ] + }, 'survey template' => { title => '88', body => '89', diff --git a/lib/WebGUI/i18n/English/Survey.pm b/lib/WebGUI/i18n/English/Survey.pm index e7cb6d26e..4fce07407 100644 --- a/lib/WebGUI/i18n/English/Survey.pm +++ b/lib/WebGUI/i18n/English/Survey.pm @@ -284,7 +284,7 @@ The unique id for this question. }, '91' => { - message => q|The following template variables are available in all survey templates. + message => q|The following template variables are available in all survey templates.

user.canViewReports
A boolean indicating whether the user has the privileges to view survey reports. @@ -498,8 +498,8 @@ The default label for survey.url. }, '17' => { - message => q|Edit Question|, - lastUpdated => 1035436091 + message => q|Survey Question, Add/Edit|, + lastUpdated => 1110068088, }, '1' => { @@ -655,11 +655,34 @@ The default label for survey.url. '4' => { message => q|Surveys allow you to gather information from your users. In the case of WebGUI surveys, you can also use them to test your user's knowledge.

+Surveys are Wobjects and Assets, so they have the properties of both. Survery have these unique properties:

+ +Template
+This template is used to display the Survey itself. +

+ +Survey Template Response
+This template is used to display the questions and answers for the user to pick. +

+ +Gradebook Template
+This template is used to display, on a user-by-user basis how many questions they got +correct and what percentage answered were correct. +

+ +Statistical Overview Template
+This template is used to display a statistical overview of the all responses +to the Survey. +

Question Order
The order the questions will be asked. Sequential displays the questions in the order you create them. Random displays the questions randomly. Response driven displays the questions in order based on the responses of the users.

+Questions per page
+The number of questions that will be displayed per page. The default is 1. +

+ Mode
By default the Survey is in survey mode. This allows it to ask questions of your users. However, if you switch to Quiz mode, you can have a self-correcting test of your user's knowledge.

@@ -668,21 +691,29 @@ By default the Survey is in survey mode. This allows it to ask questions of your Select whether or not the survey will record and display information that can identify a user and their responses. If left at the default value of "No", the survey will record the user's IP address as well as their WebGUI User ID and Username if logged in. This info will then be available in the survey's reports. If set to "Yes", these three fields will contain scrambled data that can not be traced to a particular user.

+Maximum Responses Per User?
+The number of times the user can attempt to get the correct answer on each question. The +default is 1. +

+ +Questions Per Response?
+The total number of people who can take the survey. +

+ Who can take the survey?
Which users can participate in the survey?

- Who can view reports?
Who can view the results of the survey?

- What next?
-If you leave this set at its default, then you will add a question directly after adding the survey. +After creating a new Survey, you may either starting adding questions or go back to the page where +the survey was added.

|, - lastUpdated => 1059069492 + lastUpdated => 1110059528 }, '34' => { @@ -1019,6 +1050,44 @@ A comment. context => q|Form label indicating the response template.| }, + '745' => { + message => q|Go back to the page.|, + lastUpdated => 1110006174, + }, + + '45' => { + message => q|No, I made a mistake.|, + lastUpdated => 1110006259, + }, + + 'question add/edit body' => { + message => q| +

Question
+This is the question that the user will be asked. +

+ +

Allow comment?
+If set to Yes, then the user will be allowed to add a comment to their response to this question. +

+ +

Randomize answers?
+If set to Yes, then the answers will be shuffled for each user. +

+ +

What next?
+After defining the question, you may supply an answer: +

+or you may return to the survey. +

+ + |, + lastUpdated => 1110006259, + }, };