CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Putting text in a text area

 



seriousfun
Novice

Mar 31, 2000, 4:10 AM

Post #1 of 3 (759 views)
Putting text in a text area Can't Post

I have a script generated form with many input boxes and I fill them with the VALUE=$DATA command but this does not seem to work with a TEXTAREA what am I doing wrong please?

><TEXTAREA COLS=\"36\" ROWS=\"4\" WRAP=\"virtual\" NAME=\"Total\" TEXT=$data></TEXTAREA>


Rivotti
User

Mar 31, 2000, 4:28 AM

Post #2 of 3 (759 views)
Re: Putting text in a text area [In reply to] Can't Post

You just need to place the $data after the end of the <TEXTAREA> and before de </TEXTAREA>

Example:<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

<TEXTAREA COLS=\"36\" ROWS=\"4\" WRAP=\"virtual\" NAME=\"Total\" >$data</TEXTAREA></pre><HR></BLOCKQUOTE>

I think that should do it. If you want more information about forms, check the Forms Quick Reference of WDVL.

Rivotti


seriousfun
Novice

Mar 31, 2000, 4:32 AM

Post #3 of 3 (759 views)
Re: Putting text in a text area [In reply to] Can't Post

Thanks Rivotti, it worked a treat.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives