The scenario;
I have a questionaire (containing 13 questions). The methods of answering the questions are a mix of dropdown lists (and then a 'Next'link) and links. Only one question at a time appears on the ASP, so it basically submits to its self each time producing the next question. The answers get stored to the querystring that builds as the questions go by.
The problem;
I would like the list box entries to maintain the answer that the users give should they go back through the questionaire. At the moment, should the user go back for whatever reason a list box question appears in the unanswered state i.e. Please Select . . .
Where I am upto;
I have created an array to store the Session values in i.e. The answer values . . . I just need to grab this value and set it as 'Selected' in the dropdown list when the user revisits that question . . . sounds straight forward but I am stuck . . .
Not sure if I have explained this as intended (!), thanks for any help . . .
I have a questionaire (containing 13 questions). The methods of answering the questions are a mix of dropdown lists (and then a 'Next'link) and links. Only one question at a time appears on the ASP, so it basically submits to its self each time producing the next question. The answers get stored to the querystring that builds as the questions go by.
The problem;
I would like the list box entries to maintain the answer that the users give should they go back through the questionaire. At the moment, should the user go back for whatever reason a list box question appears in the unanswered state i.e. Please Select . . .
Where I am upto;
I have created an array to store the Session values in i.e. The answer values . . . I just need to grab this value and set it as 'Selected' in the dropdown list when the user revisits that question . . . sounds straight forward but I am stuck . . .
Not sure if I have explained this as intended (!), thanks for any help . . .