I've got a form that adds some results, and emails them, but it is ommitting everthing from question5 in section 6 on. See it at
http://www.extragravity.com/your_pq_observer.htm or below...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "
http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE></TITLE><META HTTP-EQUIV="Content-Type"
CONTENT="text/html; charset=windows-1251"><STY
LE TYPE="text/css">BODY {
FONT: 10pt "Verdana"
}
H1 {
FONT: bold 15pt/17pt "Arial"; COLOR: maroon
}
H2 {
FONT: bold 13pt/15pt "Arial"; COLOR: blue
}
</STYLE><SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
// ** How to setup new questions **
// var questions? = new Array("MAIN QUESTION",
// "QUESTION 1",
// "QUESTION 2",
// "QUESTION 3",
// "QUESTION 4",
// "QUESTION 5");
var questions1 = new Array("How good is this person at understanding people?",
"He/she listens attentively to grasp what someone is thinking.",
"He/she takes notice of other people's body language to understand them better.",
"To avoid misunderstanding, he/she asks good questions to clarify what the speaker is saying.",
"He/she is able to sense what another person is feeling.",
"He/she can decipher the underlying reasons why people he/she knows acts the way they do.");
var questions2 = new Array("How good is this person at expressing their thoughts and feelings clearly?",
"He/she gives just enough detail so that he/she is understood.",
"People enjoy listening to him/her.",
"He/she can take something complicated and explain it clearly.",
"He/she says what he/she means and what he/she feels.",
"When he/she is not clear, he/she lets the other person ask questions rather then go on and on explaining himself/herself.");
var questions3 = new Array("How good is this person at asserting their needs?",
"He/she is decisive about what he/she will do or not do for others.",
"He/she speaks up when his/her needs are not being met.",
"He/she keeps calm and remains confident under pressure.",
"He/she stands his/her ground.",
"He/she can say no with grace and tact.");
var questions4 = new Array("How good is this person at exchanging feedback?",
"He/she gives appreciation and compliments freely.",
"When he/she criticizes people, he/she gives specific examples and offer suggestions for improvement.",
"To get different perspectives, he/she asks for feedback from a wide range of people.",
"He/she asks others for feedback to improve himself/herself, not to fish for compliments.",
"He/she listens to feedback he/she receive from others.");
var questions5 = new Array("How good is this person at influencing how others think and act?",
"He/she establishs rapport with people before trying to persuade them to do something.",
"He/she explores other people's viewpoints before trying to convince them of his/her own.",
"He/she gives compelling reasons for adopting his/her viewpoint.",
"People are not defensive when he/she gives advice.",
"He/she gives people time to mull over what he/she has presented to them.");
var questions6 = new Array("How good is this person at getting conflict resolved? ",
"He/she gets the tensions between the other person and himself/herself out on the table.",
"Right from the start, he/she seeks agreement over victory.",
"He/she learns all he/she can about the other person's needs and interests when negotiating.",
"He/she works to solve problems, not blame others, when they hit a stone wall.",
"When he/she reaches an agreement with someone, he/she makes sure they both stick to it.");
var questions7 = new Array("How good is this person at collaborating with others?",
"He/she requests help from others and give them assistance in return.",
"He/she pitches in when the group needs something done.",
"He/she focuses on other people's welfare as much as his/her own.",
"He/she keeps others informed about what he/she is doing if it affects them.",
"He/she helps to facilitate and coordinate the efforts of others.");
var questions8 = new Array("How good is this person at shifting gears?",
"When a relationship is not going well, he/she takes the initiative to do something about it.",
"He/she can see the patterns he/she falls into with other people.",
"Even if he/she is not at fault, he/she is open to making significant changes in his/her behavior, when necessary.",
"He/she is willing to take risks when they are called for.",
"He/she is resilient. If things don't work out, he/she bounces back.");
var questions = new Array(questions1, questions2, questions3, questions4,
questions5, questions6, questions7, questions8);
function updateTotals(formObj, sectionVal){
var tempVal = 0;
//Update appropriate section
for (var y = 1; y < 6; y++){
eval("tempVal += parseInt(formObj.value" + sectionVal + "_" + y + ".value);");
}
eval("formObj.subtotal" + sectionVal + ".value = tempVal;");
tempVal = 0;
// Update grandTotal
for (var x = 1; x < questions.length + 1; x++){
eval("tempVal += parseInt(formObj.subtotal"
+ x + ".value);");
}
formObj.grandTotal.value = tempVal;
}
// -->
</SCRIPT><META CONTENT="Microsoft FrontPage 4.0" NAME="GENERATOR">
</HEAD>
<BODY>
<H3 ALIGN="center"> The PeopleSmart Scale (Observer)</H3>
<FORM ACTION="
http://www.activetraining.com/cgi-bin/mailer2.pl"
METHOD="post">
<P>The PeopleSmart Scale (Observer) can be used to give feedback about
the interpersonal intelligence of someone you know. As you complete the scale,
think about your direct experiences with the person you are rating as well as
your observations of his/her skills with other people.</P>
<P>Feedback is a gift. Choose wisely by being as objective as you can. It
will not help the recipient if you hold back your perceptions, however positive
or negative they are. You have a vantage point when observing this person that
is unique.</P>
<P> <INPUT NAME="for"> Name of person you are observing. </P>
<P> <INPUT NAME="name"> Name of observer (your name, optional).
<BR></P>
<P> <INPUT NAME="sendto"> Email address to which results will be
sent.<BR></P><SCRIPT LANGUAGE="javascript" TYPE="text/javascript">
<!--
for (var x = 1; x < questions.length + 1; x++){
var currQuestionArray = questions[x - 1];
document.writeln("<h4>Peop
leSmart Skill " + x + ": " + currQuestionArray[0] + "</h3>");
document.writeln("<p>excel
lent = 4 g
ood = 3 f
air = 2 poor = 1</p>");
for (var y = 1; y < 6; y++){
document.writeln("<input type=\"text\" name=\"value" + x + "_" + y +
"\" size=\"3\" value=\"0\" onBlur=\"updateTotals(this
.form," + x + ");\"> " + y + ". " +
currQuestionArray[y] + "<br>");
}
document.writeln("<br><inp
ut type=\"text\" name=\"subtotal" + x
+ "\" value=\"0\" size=\"3\" onFocus=\"this.blur();\"><
b> Subtotal for Skill "
+ x + "</b><br>");
}
for(j=0;j<=questions.lengt
h;j++)
{
for(k=0;k<=questions[j].le
ngth;k++)
{
document.write('<INPUT TYPE="HIDDEN" VALUE="' + questions[j][k] + '" NAME="sec_' + Number(j+1) + '_'
+ k + '">')
}}
// -->
</SCRIPT><BR><INPUT VALUE="0" NAME="grandTotal"> <B>Click in Box to see this
person's score</B> <BR><BR><INPUT TYPE="reset" VALUE="Reset">
<INPUT ONCLICK="this.form.submit(
)" TYPE="button" VALUE="send the results">
</FORM>
<P> </P> </BODY>
</HTML>
Just my two cents worth....
davlun