How to make an online quiz email results?
Hello,
I have created an online quiz using some very basic html code and a basic script to make it work. The quiz will not be online but rather used internally for training. I was wondering if anyone could offer some pointers for how I can make the results submittable via email? I have pasted an example of my code below. Can anyone tell me where I'm going wrong or offer a solution for me to get it to work?
<!DOCTYPE HTML>
<html>
<head>
<title>ISO 9001:2015 Internal Auditor Quiz</title>
</head>
<body>
<form name="quiz">
<p>
<b>Question 1.
<br>A root cause of a nonconformance is defined as a problem that?<br></b>
<blockquote>
<input type="radio" name="q1" value="a"id="q1a"><label for="q1a">is discovered by conducting designed experiments<br>
<input type="radio" name="q1" value="b"id="q1b"><label for="q1b">is established through the use of fishbone diagrams<br>
<input type="radio" name="q1" value="c"id="q1c"><label for="q1c">must be reviewed by the material review board<br>
<input type="radio" name="q1" value="d"id="q1d"><label for="q1d">must be corrected in order to prevent a recurrence<br>
</blockquote>
<p><b>
<hr>
Question 2.
<br>When lower-tier documents are compared to higher-tier documents before the fieldwork starts, the comparison is called a<br></b>
<blockquote>
<input type="radio" name="q2" value="a"id="q2a"><label for="q2a">desk audit<br>
<input type="radio" name="q2" value="b"id="q2b"><label for="q2b">process audit<br>
<input type="radio" name="q2" value="c"id="q2c"><label for="q2c">conformance audit<br>
<input type="radio" name="q2" value="d"id="q2d"><label for="q2d">management audit<br>
</blockquote>
<p><b>
<hr>
Question 3.
<br>An audit trail is necessary in order to<br></b>
<blockquote>
<input type="radio" name="q3" value="a"id="q3a"><label for="q3a">schedule and budget for audit assignments<br>
<input type="radio" name="q3" value="b"id="q3b"><label for="q3b">show how and when items were reviewed<br>
<input type="radio" name="q3" value="c"id="q3c"><label for="q3c">provide management with justification for an audit<br>
<input type="radio" name="q3" value="d"id="q3d"><label for="q3d"> provide the audit manager with audit results<br>
</blockquote>
<p><b>
<hr>
Question 4.
<br>Which of the following audit strategies is a common technique to assess compliance to a specific requirement at all locations where that requirement is applicable?<br></b>
<blockquote>
<input type="radio" name="q4" value="a"id="q4a"><label for="q4a">Discovery method<br>
<input type="radio" name="q4" value="b"id="q4b"><label for="q4b">Element method<br>
<input type="radio" name="q4" value="c"id="q4c"><label for="q4c">Department method<br>
<input type="radio" name="q4" value="d"id="q4d"><label for="q4d">Process method<br>
</blockquote>
<p><b>
<hr>
<input type="button"value="Grade Me"onClick="getScore(this.form);">
<input type="reset" value="Clear"><p>
Number of score out of 15 = <input type= text size 15 name= "mark">
Score in percentage = <input type=text size=15 name="percentage"><br>
</form>
<p>
<form method="post" name="Form" onsubmit="send" action="mailto:me@mymail.com" input type=text name="percentage">
<input type=text name="percentage">
<input type="submit" value="Submit results">
</form>
</body>
