View Full Version : creating a text box in a form field ???

02-24-2009, 11:21 AM
pardon the sloppiness of my code below. i barely know what i am doing. i am trying to make the comment field into a text box and not just a line. i.e. i would like to increase the size of the comment field to like 100, but dont want it to go out 100 characters on one line. i want it to create a text box where 4 lines of text go out 25 characters wide. the form is enclosed in a narrow cell within a table.
thank you.

<form action="MAILTO:xxxxx@yahoo.com" method="post" enctype="text/plain">
<h3>E-mail us.</h3>
Your Name:<br>
<input type="text" name="name" value="" size="25"><br>
Your E-Mail:<br>
<input type="text" name="mail" value="" size="25"><br>
<input type="text" name="phone" value="" size="25"><br>
<input type="text" name="comment" value="" size="25"><br>
<input type="submit" value="Send"> <input type="reset" value="Reset">

02-24-2009, 11:44 AM
That can easily be archieved with a text area (http://www.echoecho.com/htmlforms08.htm)