Hi:
I need some advice on which way to go: webform, survey, a new module?
Requirements
- I have about 30 questions that can be divided in a few groups.
- Some of the questions depend on some answers.
- the user might respond to a few questions now, and leave some other questions for later on. The final results page cannot be shown before all the questionaries are fullfilled.
- AJAX is needed for custom validation and for improving the user interface
- Questions have to be easily mantained, so they cannot be hard coded with Forms API
- An easy interface to create some results depending on the answers would be nice, but not a must.
Alternatives
I like the GUI in webform for building questionaries and a few questionaries could be put in a hierarchy with the book module.
about 1) I still need to make sure the user goes through all of the forms before getting to the end (same behaviour as a multipage form)
about 2) and 3): How to add some AJAX to forms built with webform module?
Using FAPI I can create a multipage form but It cannot be mantained by non-programmers.
about 4) how to refer to answers to create the final results page?
If I could assing a hidden number to each question then I could use that number for easily finding the answer to that question.
I have read the documentation and I have some basic understanding of Drupal APIs, but I don't get around on how to face this development.