Hidden Field limits

P

Plinkerton

Are there any limits to what one can put in a hidden field? Are
certain characters restricted, or does any special encoding need to be
used for certain situations?
 
J

Jukka K. Korpela

Scripsit Plinkerton:
Are there any limits to what one can put in a hidden field?

By the specifications, no. Browsers may impose limits. The smallest
limit I ever heard of is 32 kilobytes, except for method="get", where
the entire form data might need to fit into about 1 kilobyte, since it's
passed in a URL and programs have odd limitations.
Are certain characters restricted, or does any special encoding need
to be
used for certain situations?

No, but usual HTML rules apply when writing the data. Moreover, when the
default enctype is used, the form data is in principle limited to
US-ASCII.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top