in reply to (tye)Re: textareas, form scripts, line breaks etc
in thread textareas, form scripts, line breaks etc

yeah I agree, and I dont see how whitespace is causing the problem either I also in fact, i looked at the source, copied the afflicting TR, added missing html tags, etc. and then opened it as a single .html file, same result, so I removed the line breaks, and the reply button shows up, so i put the line breaks back, and its still there, so i figured lynx was using some line break char other than \n or \r, but then one of my test replies in IE5 did the same thing:
<TABLE BORDERCOLOR=GREEN BORDER=2> <TR><TD> Date: 2 Mar 2001 15:34:12 -0000<BR> From: merlin@ethernaut.net<BR> Subject: RE: trying to get it to url-redirect<BR> Message:<BR> ok lets go back to WRAP='SOFT'<BR> <BR> ---------------------------------------------------------------------- +--------------------------------------------------------------------- +--------------------------<BR> <BR> one line?<BR> <BR> <BR> <BR> ---------------------------------------------------------------------- +----------<BR> <BR> On 26 Feb 2001 21:18:26 -0000,<BR> <BR> no@canthaveit.com wrote:<BR> <BR> Subject: trying to get it to url-redirect<BR> <BR> Message:<BR> <BR> it should print the message, then redirect to the messageboard<BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <BR> <FORM METHOD='POST' ACTION='mb_post.pl'> <INPUT TYPE='HIDDEN' NAME='MSG_ID' VALUE='<a05010400b6bd151b8737@[192. +168.2.3]>'> <INPUT TYPE='HIDDEN' NAME='FROM' VALUE='merlin@ethernaut.net'> <INPUT TYPE='HIDDEN' NAME='DATE' VALUE='2 Mar 2001 15:34:12 -0000'> <INPUT TYPE='HIDDEN' NAME='SUBJECT' VALUE='RE: trying to get it to ur +l-redirect'> <INPUT TYPE='HIDDEN' NAME='MESSAGE' VALUE='ok lets go back to WRAP='SO +FT' ---------------------------------------------------------------------- +--------------------------------------------------------------------- +-------------------------- one line? ---------------------------------------------------------------------- +---------- On 26 Feb 2001 21:18:26 -0000, no@canthaveit.com wrote: Subject: trying to get it to url-redirect Message: it should print the message, then redirect to the messageboard '> <INPUT TYPE='SUBMIT' NAME='REPLY' VALUE='Reply'> </FORM></TD></TR>
I think I'll be switching to CGI.pm, which will probably require a virtual rewrite, but I'm still really curious about this

Replies are listed 'Best First'.
(tye)Re2: textareas, form scripts, line breaks etc
by tye (Sage) on Mar 02, 2001 at 22:20 UTC

    I suspect the subject being "ok lets go back to WRAP='SOFT'" is the culprit (and what happened to the > on the end of that tag?).

            - tye (but my friends call me "Tye")
      i think you're right, maybe in more ways than one (i guess) in both instances (if I remember right) I was using WRAP='SOFT' for the textarea, the reason I switched back to it was because I wanted to only use user-specified line breaks, so that copying and pasting didn't look so ugly, but I was avoiding wrap=none but having the 's in there didn't help either....i completely missed that ;( well i'm mostly satisfied that one of the two things caused the problem, hopefully after enough reading on CGI.pm i'll have an improved product thanks very much for all the help, hopefully i can come back from this with a significant helping of acquired wisdom :)