Hello. I am using Nate Weiss' invaluable CF_TwoSelectsRelated tag, with almost flawless results. But I am encountering a problem, and I wonder whether I am alone.
I have a multi-page form, a few pages of which use CF_TwoSelectsRelated. Each page submits its data to an action page which writes the data to a Session variable, for later writing to the back end database. This all works very nicely. For the most part, if the user hits the back button, there is no problem. Except in cases of pages with the CF_TwoSelectsRelated tag. Here's what happens: Let's say that I have the user pick their state and city from an instance of CF_TwoSelectsRelated. Here are the possible options: State dropdown City dropdown Idaho Boise Massachusetts Boston Massachusetts Cambridge Massachusetts Northampton Rhode Island Cranston Rhode Island Narragansett Rhode Island Pawtucket Rhode Island Wakefield They pick Rhode Island from the State dropdown, and from the four City options that are then displayed, pick Cranston. They submit the form, and Rhode Island and Cranston are stored in the Session variable. No problem. Now, they hit the back button. For some reason, the form now shows with Rhode Island selected, but a blank under the City dropdown. If you click the City dropdown, you can't see the list of four cities that should appear. If you change the State to Idaho, say, and then change it back to Rhode Island, the appropriate cities then appear. I can guess why this is happening. Since I have decided not to programmatically restrict use of the back button, I was wondering whether anyone else had encountered this and had an idea for a solution. To a certain extent, I don't care if they hit the back button, as long as the appropriate values are displayed in the dropdowns. I'd greatly appreciate any help. Thanks, Matthieu ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

