in function testform, add:
Code:
else self.location='mailto:SonicDX_Adventure@Hotmail.com';
at the bottom:
Code:
<td><INPUT TYPE="button" VALUE="send e-mail" onClick="testform();"></td>
there is an error, you open with a form and close with a script tag:
Code:
<form action=mailto:Sonicdx_adventure@hotmail.com method="Email" name="form"></script>
All inputs should be put in form. The code above should be put at the top where starts the first form
The send button should be input type submit (if you want to send the data to other page, otherwise you don't need form tag)
forms[0] and elements[0] can be replaced by their name or id to easier to keep track:
Code:
document.form.Name.value==""