Text Area fields, help needed
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=3500
Printed Date: 29 March 2026 at 5:00pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: Text Area fields, help needed
Posted By: LeoV
Subject: Text Area fields, help needed
Date Posted: 13 June 2003 at 5:03am
I want to retrieve from a database into a textfield so the information can be edited. Of course..i'm stupid to not be able to solf this one but..oke..maybe some of you might wanna help.
I've tried these two:
<tr>
<td align="center" colspan="2" class="tblTxT">input field
<input type="textarea" name="Verhaal" wrap="virtual" size="100" rows="10" value="<% = Rs("Verhaal") %" />
</td>
</tr>
<tr>
<td>Textarea:</td>
<td><textarea cols="60" rows="10" name="Verhaal">
<% = Rs("Verhaal")%></textarea>
</td>
</tr>
I even tried an iframe. But it only works in the upper code. And that one does not give me a textarea. Any solutions?
|
Replies:
Posted By: pedalcars
Date Posted: 13 June 2003 at 5:39am
Is:
value="<% = Rs("Verhaal") %" />
Just a typo in your post?
Should be:
value="<% = Rs("Verhaal") %>" />
Otherwise, I'm a bit stuck, because:
<tr>
<td>Blurb:</td>
<td><textarea name="blurb" cols="40" rows="10"><%
Response.Write(strBlurb)
%></textarea></td>
</tr>
...works for me and isn't particularly different to yours (structurally, except for the typo).
------------- http://www.pedalcars.info/ - www.pedalcars.info
The most fun on four wheels
|
|