Forum Moderators: open
<HTML>
<FORM action="mailto:myfirstemail@whatever.com, mysecondemail@whatever.com?Subject=" method="post" enctype="text/plain">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4", width="900">
<TR>
<TD align=right><B>Name: </B></TD>
<TD><INPUT type="text" name="Name " size="100"></TD>
</TR>
<TR>
<TD></TD>
<TD>First Name, Last Name</BR></BR></TD>
</TR>
<TR>
<TD align=right><B>Complaint: </B></TD>
<TD><TEXTAREA name="Complaint " cols="76" wrap="virtual" rows="6"></TEXTAREA></BR>(Provide details of the complaint)</TD>
</TR>
<TR>
<TD><INPUT type="submit" name="submit" value="Send"> <INPUT type="reset" name="reset" value="Clear">
</TABLE>
</FORM>
</HTML>
Since your form is for use by only five people why not hard code Subject="whatever", so that they know that the email comes from one of the other four people, and add an extra row in your table where they can specify the real subject
cant you just change the form from POST to GET, and add a new input field with the name 'subject'
you'll have to remove the bit in the form's url where you've already put 'subject'
i think you'll have to send the message content as part of the URL as well, so you'll have to change the textarea's name to 'body'
<HTML> <FORM action="mailto:myfirstemail@whatever.com,mysecondemail@whatever.com" method="get" enctype="text/plain"> <TABLE BORDER="0" CELLSPACING="0" CELLPADDING="4", width="900"> <TR> <TD align=right><B>Name: </B></TD> <TD><INPUT type="text" name="Name " size="100"></TD> </TR> <TR> <TD></TD> <TD>First Name, Last Name</BR></BR></TD> </TR> <TR> <TD align=right><B>Subject: </B></TD> <TD><INPUT type="text" name="subject" value=""> </TR> <TR> <TD align=right><B>Complaint: </B></TD> <TD><TEXTAREA name="body" cols="76" wrap="virtual" rows="6"></TEXTAREA></BR>(Provide details of the complaint)</TD> </TR> <TR> <TD><INPUT type="submit" name="submit" value="Send"> <INPUT type="reset" name="reset" value="Clear"> </TABLE> </FORM> </HTML>
application/x-www-form-urlencoded - Default. All characters are encoded before sent (spaces are converted to "+" symbols, and special characters are converted to ASCII HEX values)
multipart/form-data - No characters are encoded. This value is required when you are using forms that have a file upload control
text/plain - Spaces are converted to "+" symbols, but no special characters are encoded
<html>
<body>
<form name="call" method="post" enctype="text/plain">
Request: <input id="request">
<script type="text/javascript">
var text = document.getElementById("request").value;
var email = "myemail@hotmail.com";
var subject = "Thanks";
document.call.action = "mailto:"+email+"?subject="+subject;
</script>
</br>
<input type="submit" value="Submit">
</form>
</body>
</html>
<html>
<body>
<form name="call" method="post" enctype="text/plain">
Request: <input id="request">
<script type="text/javascript">
var text = document.getElementById("request").value;
var email = "myemail@hotmail.com";
var subject = "Thanks"+text;
document.call.action = "mailto:"+email+"?subject="+subject;
</script>
</br>
<input type="submit" value="Submit">
</form>
</body>
</html>