Forum Moderators: open
What is the maximum amount of text that can be put into the value property of a <input type="hidden" /> XHTML element?
This chap wants to try cramming the contents of a <textarea> into a hidden form field (don't ask me why, but he usually has a good reason for it).
Any ideas?
= number [CN]maxlength
When the type attribute has the value "text" or "password", this attribute specifies the maximum number of characters the user may enter. This number may exceed the specified size, in which case the user agent should offer a scrolling mechanism. The default value for this attribute is an unlimited number.
So the specification allows for unlimited data in an
input. Not that necessarily helps much in determining a browser's ability to handle "unlimited" quantities of data. ;)