PDA

Click to See Complete Forum and Search --> : repopulate are <textarea> field


micksterbooty
Feb 20th, 2001, 01:58 AM
gidday can anyone help i am having trouble giving memory to a textarea field of my form
the following works fine with text fields:
value="<%=xyz%>"
but when tried for the textarea nothing appears
have tried other syntaxes but nothing works

thanks in advance
mick

Jeh
Feb 20th, 2001, 05:27 AM
mornin.

are you doin this:
<textarea name="hello" value=<%= xyz %>"></textarea>

?
If so, don't:)
do this:
<textarea name="hello"><%= xyz%></textarea>

dont put the value tag in, and have the <%= xyz %> in the bit between the open textarea tag and the close tag.

Hope that helps.

Shafee
Feb 21st, 2001, 06:38 AM
Try this:

<textarea name="hello"><%Response.Write xyz%></textarea>

micksterbooty
Feb 21st, 2001, 10:40 PM
Thanks guys got in working now
cheers
mick