Working with web controls with MOSS 2007
What I'm trying to do is create a users login page for the company I work for. What we have is a series of questions that we ask with radio buttons. from the choice of radio buttons we need to bring the user to a new page with maybe more radio buttons or even text boxes. I approached this with the idea of using switch cases for the seperate pages. but some of these pages span up to 7 or 8 pages. So right now I"m looking of a good way to manage all this and get it ready than perform the render. Here is a rundown of what i currently have.
A global string array that will hold all the possible text that will need to be presented.
An array of labels that may need to be put on the page.
An array of text boxes
An array of radio buttons.
What i was thinking is with view state pass what page where on and if we clicked a radio button to the correct method and perform the task. the problem I'm running into is just the idea of the whole thing I'm finding myself getting lost in the code and not remembering what I'm doing. Am I over thinking this whole thing? If you need more information please let me know.