I am trying to display a default value in a input textbox. When I use the
Input tage I get a box that has a size that I specify for a fixed height.
If I use the textarea tag I get a box that I can customize the size but I
get no data in this field using the exact same field selection as i did in
the Input box. The code I am using is below. i am not sure how to format
my output but I know i need a box that will display all the data in the
field that could be up to 1000 characters in length. A little scrolling
would be okay but having to scroll through a field that long on a single
height box would kill the user into not wanting to update this field at all.
>
>
<textarea name=find value=<%=objRS("directions")%>> </textarea>
<textarea name="text1"><%=objRS("directions")%></textarea>
move your value outside the <textarea> tag so that it is now in between the
opening and closing tags.
Cheers
Ken
----- Original Message -----
From: Matthew Lohr <mlohr@t...>
To: ASP Databases <asp_databases@p...>
Sent: Friday, April 21, 2000 12:26 AM
Subject: [asp_databases] displaying a dfault value in textbox?
> I am trying to display a default value in a input textbox. When I use the
> Input tage I get a box that has a size that I specify for a fixed height.
> If I use the textarea tag I get a box that I can customize the size but I
> get no data in this field using the exact same field selection as i did in
> the Input box. The code I am using is below. i am not sure how to format
> my output but I know i need a box that will display all the data in the
> field that could be up to 1000 characters in length. A little scrolling
> would be okay but having to scroll through a field that long on a single
> height box would kill the user into not wanting to update this field at
all.
>
> <textarea name=find value=<%=objRS("directions")%>> </textarea>
>