Hi,

Value attribute doesn't work for textarea.Please put variable 'comments'
between opening and closing tags.

i.e. <textarea name="comments" cols="30" rows="5" ><%=comments%></textarea>
should work.

Regards,
Bharat
(India)


-----Original Message-----
From: Barbara Johnson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 22, 2001 10:49 PM
To: [EMAIL PROTECTED]
Subject: repopulate textarea


In a previous discussion I asked for help in repopulating forms. I was
missing the quotes.
There must be something more that you have to do for the textarea to
repopulate. (The information is definitely in
the database.) This input type="text"  are repopulated but the textareas are
blank.
Does anyone know the solution for this?

ie.
 This works: <input type="text" name="name size="50" value='<%= name %>'>

 This does not work:<textarea name="comments" cols="30" rows="5" value='<%=
comments%>'></textarea>


Thanks,
Barb Johnson
Instructional Programmer
Northeastern Ohio Universities College of Medicine

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to