jQuery in Action, 3rd edition
The moose likes HTML, CSS and JavaScript and the fly likes Limitation of total hidden fields Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Limitation of total hidden fields Size" Watch "Limitation of total hidden fields Size" New topic

Limitation of total hidden fields Size

Shiva Prasad

Joined: Feb 29, 2000
Posts: 5
Is there any limitation on total hidden fields size in any html page ? I am not able to do a form submit since I am having more hidden fileds in my page. Please let me know if there is any limitaion for the size.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Depending on your browser and server, you may have some practical limitations, but HTML doesn't specify any.
Chris Stehno
Ranch Hand

Joined: Feb 26, 2001
Posts: 180
If I remember correctly, a GET request can sometimes have a size limit (I remember 256 characters - but that was back at the dawn of net civilization). A POST request is usually better at handling large amounts of data.
Also, a single hidden data field's allowable size is probably determined somewhat by the server that is handling it.
As far a the number of fields present on a page ... I have gone up in the thousands before with no problems (other than being pretty slow to process).
Hope this helps.

Chris Stehno (Sun Certified Programmer for the Java 2 Platform)

- Chris Stehno, SCPJ
I agree. Here's the link: http://aspose.com/file-tools
subject: Limitation of total hidden fields Size
It's not a secret anymore!