http://qs321.pair.com?node_id=53150


in reply to Message Inbox input element

As of this posting, the input tag for the "text" that you can reply with is as follows:
<INPUT TYPE="text" NAME="replytotext" SIZE=60 MAXSIZE="255">
That should, amongst other things, be MAXLENGTH and not MAXSIZE. There's nothing to prevent someone from entering more than 255 characters and having a reply truncated (as I have learned the hard way).

Is MAXSIZE a browser specific attribute that I don't know about?

Cheers,
Ovid

Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.

Replies are listed 'Best First'.
Re: (Ovid) Re: Message Inbox input element
by TStanley (Canon) on Jan 20, 2001 at 22:25 UTC
    I looked at the HTML 4.01 specification, but was unable to find anything relating to MAXSIZE there, that was related to the <TEXTAREA> tag.

    TStanley
    In the end, there can be only one!
Re: (Ovid) Re: Message Inbox input element
by turnstep (Parson) on Jan 21, 2001 at 00:27 UTC

    Nope, just a common mistake. I used to do that often, so know I watch for it and catch myself. It *should* be MAXSIZE, or it *should* be simply LENGTH, but alas, that's the way it was originally done, so, like HTTP_REFERER, we are stuck with it. :)