Posted by MS on 09/30/06 15:51
I am about to embark upon a function(s) that will ask a series questions of
the user and dependant upon their reply to each the flow of questions
changes.
EG.
Do you have Hair?
if they answer "No" I want the next question to be {
Move to next question
}if they answer "Yes" I want the next questions to be {
How long is your hair?
What colour is your hair?
etc...etc..
}
// This is next question
How tall are you?
So the question flow changes depending on what is answered.
What I am asking is if anybody has designed such a system that is all
database driven (so I am not writing conditions for each question) or
anybody got any ideas of the database structure.
MS
Navigation:
[Reply to this message]
|