[Catalyst] Suggestions on how to handle 12 page form

Kieren Diment diment at gmail.com
Tue Nov 16 23:02:04 GMT 2010


On 17/11/2010, at 9:50 AM, Victor Churchill wrote:

> Put it all on one page and use JS in the template to toggle different divs?

Having dealt with some large forms recently(and depending on how heavy the JS is on the page), this can result in browser slowdowns in some environments.  Probably the simplest approach is to incrementally update the database, and keep the current primary key for the record somewhere in the form (in a hidden field) or in the url.  If you don't want to insert until everything is finished, then storing everything previously entered in hidden fields is also a reasonable approach in some situations.


More information about the Catalyst mailing list