I have a form that uses the script below. The form has three body text fields. When the form is subm,itted it opens the default email software ok in IE6 and NS7. The problem is that the fields that place the text into the body of the email all appear on the same line with no spaces between, or above or below. Is there a way automatically place a horizontal space between each field when it displays in the body of the email?
See script below
<Head>
<script>
function createEmail() {
document.location.href = "mailto:youremailaddress.com?subject=Feedback" + "&body=" + document.email.name.value + document.email.emailaddress.value + document.email.messagebody.value;
}
</script>
<Body>
<td><form name=email method="POST" action="mailto:youremailaddress.com?subject=Send your Feedback/Comments" enctype="text/plain">name: <input type=text name=name size="20"><p>email: <input type=text name=emailaddress size="20"></p><p><br>text:<br><textarea name=messagebody rows=2 cols=30></textarea><br><input type=button value="send email" onclick=createEmail()></p></form></td>
Thanks
See script below
<Head>
<script>
function createEmail() {
document.location.href = "mailto:youremailaddress.com?subject=Feedback" + "&body=" + document.email.name.value + document.email.emailaddress.value + document.email.messagebody.value;
}
</script>
<Body>
<td><form name=email method="POST" action="mailto:youremailaddress.com?subject=Send your Feedback/Comments" enctype="text/plain">name: <input type=text name=name size="20"><p>email: <input type=text name=emailaddress size="20"></p><p><br>text:<br><textarea name=messagebody rows=2 cols=30></textarea><br><input type=button value="send email" onclick=createEmail()></p></form></td>
Thanks