PDA

View Full Version : Perl HTML form textarea


tdavis
02-16-2005, 06:50 PM
I am not sure if this is an HTML or a Perl issue, but I have a Perl script that I want to display a form (just a simple link exchange maintenance program). I can display values in a input=text field, but not textarea. This may be a limitation of HTML. Is there a better way to do this? I am not a Perl expert at all, so this is why I request your help. Any help or general advice concerning forms is appreciated.

Take a look at the following. Click the CHANGE button to display the script in question:
http://www.tdavisconsulting.com/links3page.cgi?category=misc

Thank you,
tdavis.

brett7481
02-16-2005, 07:09 PM
I looked at your page and you are setting up the textare wrong. You have something like this:


<input type='textarea' name='desc' size='100,100' maxlength='2500' border='1' value=


Textareas should be set-up like this:


<textarea wrap="virtual" name="Description" value="" rows="3" cols="42">Your Description Goes Between The Two Tags TO Get It To Display Inside The Textarea</textarea>


Hope that helps

tdavis
02-16-2005, 07:42 PM
Yes, that helped. It works perfectly now.
Thank you very much! :thumbsup: