It sounds like a session variable containing an array of checkboxes and
their selected values might be in order.  Assuming the user has cookies
enabled (or if you pass the session tokens on the URLs) this should be
fairly simple to implement.

-Justin


> -----Original Message-----
> From: Christophe Maso [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, March 12, 2006 6:52 PM
> To: CF-Talk
> Subject: maintaining state in multipage form
> 
> I've taken over a web application where at one point, the 
> user has a long list of items to choose from to be compared 
> to one another.  Each product has a checkbox next to it, and 
> after checking off those products the user wants to see, the 
> user submits the form and views a comparison table.
> 
> This would be simple if the form were all on one page, but 
> it's not.  Since there can be potentially be a lot to choose 
> from, the form is codes to display only 30 or so items at a 
> time.  There's hyperlink navigation at the bottom of the page 
> to go to next/previous page, or to go to page x, in order to 
> see other items.  Clicking on any of these links executes a 
> new request and the previous page's checkboxes lose their 
> state.  So right now the user can only compare items if they 
> happen to be listed on the same page in the same group of 30.
> 
> I need the user to be able to check boxes on any page and 
> jump around to other pages of the form, checking or 
> unchecking as they want, and have the form maintain it's 
> overall state for when they finally submit.  Any leads on 
> where I can get some tips on how to do this?
> 
> Thanks,
> Christophe
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235162
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to