Code:
<form action="mailto:administrator@brainformation.com?subject=Fan Mail&body=???" method="post" enctype="multipart/form-data">
<input class="sidebar" type="text" value="name" name="user" />
<input class="sidebar" type="text" value="email" name="email" />
<textarea class="sidebar" name="content" cols="30" rows="40">Your message</textarea>
<input class="button_sidebar" value="Send" type="submit" />
<input class="button_sidebar" value="Reset" type="reset" />
</form>
http://home.earthlink.net/~baradj/nbfhome/
I'm using a form to send an e-mail to the site administrator in the CONTACT US section of the navigation pane.
I understand how to force pre-formatted text into the To:, Subject:, and Body: elements of an e-mail client. However, I want to pass user entered (variable text) to the email body, and I cannot figure out how to do it using strictly HTML.
I prefer to avoid using cgi scripts, but a javascript solution might be workable. Thanks for any help or direction you may be able to provide.

__________________
Please login or register to view this content. Registration is FREE
A friendly waystation along the Information Highway
|