Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_databases thread: displaying a dfault value in textbox?


Message #1 by "Matthew Lohr" <mlohr@t...> on Thu, 20 Apr 2000 10:26:48 -0400
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>





Message #2 by "Ken Schaefer" <ken.s@a...> on Sat, 22 Apr 2000 23:22:32 +1000
<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>

>




  Return to Index