text gathered from a web doesn't usually retain CR/LF, but if you put the
comments in a table of specific width it will autowrap in the cell of the
table.

print <<"EOF";
<table width=300>
    <tr>
        <td>
EOF

print "$in{textbox}\n";

print<<"EOF";
        </td>
    </tr>
</table>
EOF

I'm still new to perl myself, so I'm not sure if you can skip the extra
'print' functions and still get interpretation of the $variable.


----- Original Message -----
From: "William Lessard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 11:01 PM
Subject: webform with textbox's


> I have a textbox that has multiple lines (ie a comments box)
> When I show the thank you page with their input.. How do I wrap the text
> from the comments box. It just keeps going off the page.
>
> Please Help
>
> TIA
> william
>
> _______________________________________________
> Perl-Win32-Web mailing list
> [EMAIL PROTECTED]
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to