Click to See Complete Forum and Search --> : HTML INPUT TYPE=TEXT???


opiate
June 3rd, 2001, 06:09 PM
I was wondering how to code html input text boxes. I need to know how to do multiline and scrollbars. And if possible selecting the text.

I've looked through MSDN and can't find nothing that I want. I trying to build a HTML/ASP form; the 1st page will be the client form, 2page will be a varify page and the 3rd would insert records into a database.

Thanks,

<IMG SRC="smilies/confused.gif" border="0">

opiate
June 4th, 2001, 12:44 AM
never mind.

antonye
June 4th, 2001, 03:15 AM
Just for the others out there, the answer is not to use an Input box as this only allows single lines.

You need to use a TEXTAREA which allows you to specify the number of rows and columns for you text box and any default text in the box:


&lt;textarea cols="40" rows="6"&gt;
Type your reply here...
&lt;/textarea&gt;


You can always drop in some JavaScript code to select all the text when the textarea box gets the focus.