Two quick questions:
What is the maximum size for the name
element on an HTML hidden input field that is used in a form that is submitted using POST?
What is the maximum size for the value
element on a hidden HTML input field used in a form that is submitted using POST?
dBase table field names have a ten-character limit, so the raster attribute tables also have a ten-character limit. GRID format, supported though a value attribute table (VAT), allows up to 16-character field names. The field length of a geodatabase raster attribute table can be longer, varying with each DBMS.
Given an input field and the task is to set the minimum/maximum number of characters allowed in an input field in HTML. To set the maximum character limit in input field, we use <input> maxlength attribute. This attribute is used to specify the maximum number of characters enters into the <input> element.
The maxlength attribute specifies the maximum number of characters allowed in the <input> element.
How To: Use the Text Field. The Text field is one of the most generic and common data entry fields used to capture text type data—letters, numbers, and symbols. Text fields hold up to 255 characters in a single line.
The specification does not impose limits. You would have to test on a browser-by-browser basis (or work on the "Just don't be stupid" principle).
If you have enough data for it to be significant then you are probably better off caching it on the server (assuming you are populating the hidden inputs there and not with JS) and giving the browser a token instead.
According to the specs, there is no documented limit, however PHP may limit you according to the max_file_size
or other properties in php.ini. That's usually over 5MB though, so I wouldn't be worried.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With