Hello all,

Here is an issue I'm struggling with. Perhaps someone can shed 
some light or at least confirm I'm stuck with this behavior so I can 
move on.

Background:
A form is built dynamically step by step based on the user input. It 
consists of several single value and multi value select lists. Using 
javascript, onChange="submit()", the form submits automatically 
when the user makes a selection in a single select list. The form is 
recursive and "grows" displaying additional input fields beneath the 
previous inputs. At any time, the user can change a previous input 
above and the form will re-submit and reset the form to display the 
appropriate inputs down to the point the change was made. 

Problem:
If the user changes the input in a single select list, the form 
resubmits. If then, the user hits the back button, the most recent 
value the user chose in a single value select list is shown onscreen 
as the selected (highlighted) list item, rather than the previously 
selected item (the selected item you're going back to). If you view 
the source, the correct value is marked selected but the browser 
doesn't display it correctly. If there happened to be a multiselect 
list or filled text box on the previous screen (the screen you're 
going back to), any previously selected values display properly as 
well as the data entered in the text box. So the problem seems to 
be isolated to the single select lists. (Does this make sense?  I 
know it sounds confusing!)

I know I can make the page expire so users have to hit refresh 
when they go "Back", but I would prefer users be able to use the 
back button and see their last selections since this is what they 
expect. I know some of the older browsers would not hold these 
values at all, and the form would display blank or with defaults, but 
the newer ones do hold the values. This behavior is the same in 
both Netscape 4.7 and IE 5.5.  

Any thoughts?

Thanks in advance for your comments!! 
------------------------------------
Clint R. Tillerson
Meteorologist/Programmer
Pacific Environmental Services, Inc.
5001 South Miami Blvd.
PO Box 12077
RTP, NC  27709
(919) 941-0333
Fax: (919) 941-0234
------------------------------------
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to