cf form hidden fields
Posted on 2005-03-16
I have a cf page that contains a form with a series of checkboxes...I display 10 checkboxes followed by buttons for Back, Next, and Close...the pages acts like a wizard in that it appears that it is going to different pages but of course its not...my question is...as the user clicks on the Next button, how do I retain the value from the checkboxes so that when the user reaches the last page and clicks Save, it has all the values from the previous pages checkboxes? Keep in mind, its the same page, I'm just reloading the same page when the user clicks Next or Back. I was thinking I need to use hidden fields in the form but I'm not sure of the syntax to use each time the page reloads.
Any thoughts, suggestions and/or code snippets would be appreciated.