Mar 2nd, 2010, 4:21 PM
My approach above definitely works for single page forms...on more than one page it may not (it's untested on that). I don't think it will work if the user navigates away and back to the page to refill the fields since the $fields variable is set only upon a click of the submit button in either case.