I am trying to use the dropdown box to choose the correct first part of the e-mail to send it to.
<html>
<head>
<script language="JavaScript">
<!-- \/ Not sure if this part is formatted right \/ -->
var mailpre = ("MAILTO:" + document.getElementById("cusub").value + "@cmputers.ca");
<!-- /\ Not sure if this part is formatted right /\ -->
</script>
</head>
<body>
<!-- \/ Not sure if the action part is formatted right \/ -->
<form action=mailpre method="post" enctype="text/plain" autocomplete="on" id="contact">
<!-- /\ Not sure if the action part is formatted right /\ -->
<fieldset>
<legend>Contact Information</legend>
Name:
<br>
<input type="text" name="clientname" autofocus required>
<br>E-mail:
<br>
<input type="email" name="clientemail" required>
<br>Telephone Number:
<br>
<input type="text" name="clientphone">
<br>
</fieldset>
<fieldset>
<legend>Subject</legend>
<select id="cusub" name="subject">
<option value=""></option>
<option value="booking">Booking An Appointment</option>
<option value="support">Technical Support</option>
<option value="feedback">Feedback</option>
</select>
<br>
<textarea name="message" rows="10" cols="30"></textarea>
<br>
<input type="submit" value="Send">
</fieldset>
</form>
</body>
</html>
Hopefully someone can help, as it seems screwy to me.