Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximum number of form elements in one document

Status
Not open for further replies.

Sleidia

Technical User
Joined
May 4, 2001
Messages
1,284
Location
FR
Hi guys,

Something I need to know : what is the maximum number of form elements that I should allow in a single document with multiple forms?

I'm asking this because I'm creating a CMS interface that uses css/javascript-driven tabs. Basically, a single html document contains several pages, each one enclosed in a div tag. All the divs are on "hidden" state, with the exception of the current page, of course. I did this because I wanted to avoid numerous page loads and AJAX programming.

My bet is that the number of form fields is only limited by the memory of the computer. Or am I wrong?

Thanks for the help! :)
 
AFAIK there's no limit. However, the hidden-div trick is a gawdy one and can get very slow with large and/or multiple divs, because the page size can grow quite large.

separate-page form processing can be accomplished easily enough with session tracking and/or hidden form fields. why not take that approach?



*cLFlaVA
----------------------------
[tt]"quote goes here"[/tt]
[URL unfurl="true"]http://www.coryarthus.com/[/url]
 

Hi cLFlaVA :)

separate-page form processing can be accomplished easily enough with session tracking and/or hidden form fields. why not take that approach?

The problem with this approach is that page loads would make the CMS not very user-friendly. When I use someone else's application, CMS or not, I hate to spend more time waiting than making the few changes I need to do.

Also, the preloaded pages make it easy/fast to read/copy/paste some info on another page/tab because of the abscence of page loads.

AFAIK there's no limit.

Well, I remember that a few years ago, I was programming an appli for flight reservations which contained lots of fields, mostly for the calendar (each day was a drop down menu).
Anyway, my PII machine running Win98/IE6 couldn't display the form entirely when several months needed to be dislayed.

So far, I have no problem with the CMS but I'm afraid that it will become one when more data (then more form fields) will be added.

Thanks again ;)
 
Sleidia,

How much data are we talking about? I would assume that limitations lie with both browser, OS, memory, etc. And if the amount of data is that vast you shouldn't go that way.

If you're working with vast amounts of data, then serverside would probable be the best approach. Then you would only have to load what's needed.

But -let's hear how much data we're talking about. There may be a better way of doing this ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top