Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2009
    Thanked 0 Times in 0 Posts

    creating a text box in a form field ???

    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">

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Thanked 23 Times in 23 Posts
    That can easily be archieved with a text area


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts