Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

(Ovid) Re: Message Inbox input element

by Ovid (Cardinal)
on Jan 20, 2001 at 04:40 UTC ( #53150=note: print w/ replies, xml ) Need Help??


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.


Comment on (Ovid) Re: Message Inbox input element
Download Code
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. :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://53150]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (17)
As of 2015-07-30 21:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls