home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 January
/
PCWorld_2000-01_cd.bin
/
Software
/
Vyzkuste
/
feedback
/
data1.cab
/
RoleMaker_Program_Files
/
template.txt
< prev
Wrap
Text File
|
1999-11-05
|
7KB
|
177 lines
<html>
<head>
<title>Feedback Journal 360 - Feedback Questionnaire - %rolename%</title>
<script language="JavaScript">
<!--
// This section is inserted automatically by RoleMaker
// %questiondata%
// End of RoleMaker inserted section
qu_text = new question_data();
qu_resp = new response_data();
qu_no = 0;
function set_question()
{
if (qu_no < qu_text.length)
{
document.questionnaire.prompt.value = qu_text[qu_no];
document.questionnaire.where_at.value = "Question " + (qu_no+1) + " of " + qu_text.length;
if (qu_resp.length > 0) document.questionnaire.response1.value = qu_resp[0];
if (qu_resp.length > 1) document.questionnaire.response2.value = qu_resp[1];
if (qu_resp.length > 2) document.questionnaire.response3.value = qu_resp[2];
if (qu_resp.length > 3) document.questionnaire.response4.value = qu_resp[3];
if (qu_resp.length > 4) document.questionnaire.response5.value = qu_resp[4];
if (qu_resp.length > 5) document.questionnaire.response6.value = qu_resp[5];
} else {
document.questionnaire.prompt.value = "All questions answered. Please press 'Send' once and wait for a reply.";
document.questionnaire.where_at.value = "All completed";
document.questionnaire.response1.value = "";
document.questionnaire.response2.value = "";
document.questionnaire.response3.value = "";
document.questionnaire.response4.value = "";
document.questionnaire.response5.value = "";
document.questionnaire.response6.value = "";
}
}
function start_questionnaire()
{
set_question();
}
function press_button( answer )
{
if (answer < qu_resp.length && qu_no < qu_text.length)
{
len = document.questionnaire.replies.length;
start = "";
end = "";
if (qu_no > 0) start = document.questionnaire.replies.value.substring(0,qu_no);
if (qu_no == length) end = document.questionnaire.replies.value.substring(qu_no+1,length-1);
document.questionnaire.replies.value = start + answer + end;
qu_no++;
set_question();
}
}
function go_back()
{
if (qu_no > 0)
{
qu_no--;
set_question();
}
}
function validate( answer )
{
if (qu_no < qu_text.length)
{
alert( "You haven't yet answered all the questions" );
return false;
}
if (document.questionnaire.email.value.length == 0)
{
alert( "You must enter the email address for the person to receive the feedback" );
return false;
}
if (document.questionnaire.password.value != document.questionnaire.password2.value)
{
alert( "The password has been entered differently in each prompt" );
return false;
}
if (document.questionnaire.relationship.selectedIndex < 0)
{
alert( "You must enter your reporting relationship to the person being assessed" );
return false;
}
return true;
}
// -->
</script>
</head>
<body OnLoad="start_questionnaire()" bgcolor="#CECEFF">
<form method="POST" action="%25CGI%25" name="questionnaire" OnSubmit="return validate()">
<input type="hidden" name="role" value="%rolename%"><input type="hidden" name="mailserver"
value="%mailserver%"><input type="hidden" name="from" value="%from%"><input type="hidden"
name="subject" value="%subject%"><input type="hidden" name="message" value="%message%"><input
type="hidden" name="replies" value><div align="left"><table border="0" cellpadding="10"
cellspacing="0" width="100%" bgcolor="#CECEFF" style="font-family: sans-serif">
<tr>
<td valign="top" colspan="2"><div align="center"><center><h3><small><font face="Arial">Questionnaire
for %rolename%</font></small></h3>
</center></div></td>
</tr>
<tr>
<td valign="top"><small><font face="Arial">Email address to which this feedback will be
sent:</font></small></td>
<td valign="top"><input type="text" name="email" size="31" style="font-family: sans-serif"></td>
</tr>
<tr>
<td valign="top"><font face="Arial"><small>Password to protect this feedback (please
repeat twice):</small><br>
<small><small><small>The person who asked you to complete this questionnaire will tell you
what to use. If not leave it blank.</small></small></small></font></td>
<td valign="top"><input type="password" name="password" size="31"
style="font-family: sans-serif"><br>
<input type="password" name="password2" size="31" style="font-family: sans-serif"></td>
</tr>
<tr>
<td valign="top"><small><font face="Arial">Your name (optional):</font></small></td>
<td valign="top"><input type="text" name="name" size="31" style="font-family: sans-serif"></td>
</tr>
<tr>
<td valign="top"><small><font face="Arial">Your reporting relationship:</font></small></td>
<td valign="top"><select name="relationship" size="6" style="font-family: sans-serif">
<option value="0">Self assessment</option>
<option value="1">Manager of person being assessed</option>
<option value="2">Direct report of person being assessed</option>
<option value="3">Peer of person being assessed</option>
<option value="4">Customer of person being assessed</option>
<option value="5">Other</option>
</select></td>
</tr>
<tr>
<td valign="top" bgcolor="#8080FF" colspan="2"><small><font face="Arial">For the behaviour
below please click the button on the right that best matches for the person you are
assessing. If you make a mistake you can go back by clicking "Previous
question". You must answer all questions before you can send your feedback.</font></small></td>
</tr>
<tr>
<td valign="top" bgcolor="#8080FF"><font face="Arial"><small><textarea rows="4"
name="prompt" cols="66"
style="font-family: sans-serif; background-color: rgb(206,206,255); border: 0"></textarea><br>
<input type="text" name="where_at" size="39" value="Start"
style="font-family: sans-serif; background-color: rgb(128,128,255); border: 0"></small><br>
<small><br>
<input type="button" value="Previous question" name="back" OnClick="go_back()"
style="font-family: sans-serif"></small></font></td>
<td valign="top" bgcolor="#8080FF" align="center"><input type="button" value
name="response1" OnClick="press_button(0)"><br>
<input type="button" value name="response2" OnClick="press_button(1)"><br>
<input type="button" value name="response3" OnClick="press_button(2)"><br>
<input type="button" value name="response4" OnClick="press_button(3)"><br>
<input type="button" value name="response5" OnClick="press_button(4)"><br>
<input type="button" value name="response6" OnClick="press_button(5)"></td>
</tr>
<tr>
<td valign="top"><small><font face="Arial">Comments to the person receiving feedback:</font></small></td>
<td valign="top"><textarea rows="7" name="comments" cols="42"
style="font-family: sans-serif"></textarea></td>
</tr>
<tr>
<td valign="top"><small><font face="Arial">Press "Send" when all the above
questions have been answered.</font></small></td>
<td valign="top"><input type="submit" value="Send" name="Submit"
style="font-family: sans-serif"></td>
</tr>
</table>
</div>
</form>
</body>
</html>