In VB6 I used lots of global variables choice1, choice2..... answer1, answer2..... etc to track user input.
Is that good practice in Xojo?
Better to put all this into 1 array variable?
colors for ? are these "preferences" - ie/ what colors would you like to use for the questionairre ?
questions ? multiple choice ? .. yes no true false ?
If the answers to both are "yes" then you might have a "user preferences" class that holds all those selected colors
And for questions you might have a Question class that holds the question itself + the users response (and a flag to know if they responded at all so maybe you can go back through them and see they all have answers)
Then you'd want to have an array of questions
Over some pages, user clicks and selects 20 colour choices (blue is "1" red is "2").
(eg choice1 ="1", choice2="2" etc.)
Then the user clicks 20 multiple choice answers ( eg ans1="a", ans2="b")
Then I say final_choice = choice1+choice2+choice3+choice4
This could be "1212"
Then I look this up in a database.
Best with a module with a global array?