I am currently creating a “join our group” page and playing about with comboboxes. Im trying to find a script that will remember the users entered data from the combobox. At the moment im using _global. variables that will call up the data. Ive got something like this to try and recall the selected data.
//the global area in which my data will be held before going into a cookie
_global.myUserInfo = new Array(nameText, emailText, phoneText, daySelect1.selectedItem.label, monthSelect1.selectedItem.label, yearSelect1.selectedItem.label);
//and to call up the data back into the combobox
_global.myUserInfo[3] == daySelect1.selectedItem.label;
_global.myUserInfo[4] == monthSelect1.selectedItem.label;
_global.myUserInfo[5] == yearSelect1.selectedItem.label;
Its not calling the selected info back into the combobox when the user clicks back to ammend something, what am i doing wrong.
I have tried different combinations like
yearSelect1.selectedItem.label == _global.myUserInfo[5];
and so on
Many thanks
Scott