[eluser]tinawina[/eluser]
Hi - I am developing an application that moves people through a series of yes/no questions:
Question #1:
Answer: yes -> track visitor to Question #1b
Answer: no -> track visitor to Question #2
Question #1b:
Answer: yes? -> track visitor to Question #1c
Answer: no? -> track visitor to Question #3
etc.
In the end, we'll have a lot of questions -- a visitor will answer somewhere's around 25 total, start to finish. We are only using the answers to get to a definitive yes/no -- not saving all of these answers to a dbase or anything.
(All of this yes/no business is an attempt to help people understand copyright and hopefully get them to use a Creative Commons license to freely share their written works.)
Before I dig into building this out, I'm wondering what the best way to structure it is. For instance, it seems to me that I should be able to dynamically generate the question form view from the controller rather than building out lots of individual files in my view folder, one for each yes/no question. Of course, I'm scratching my head re: how to actually do this.
I appreciate any insights, ideas, theories, cautions, tips and/or tricks you can share with me! Thanks!