My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Simple Decision tree survey

Pankaj Dubey's photo
Pankaj Dubey
·Nov 3, 2017

Looking for recommendations/suggestions

So here is the problem:

  • I need to make a questionaire/survey webapp
  • Each screen will have a question with a bunch of options.
  • User can select 1 or multiple options
  • Based on user's selection, the next question will appear with a bunch of options and so on...
  • The sequence of questions can change based on options selected

Need suggestions on how to get this done in JS/Python

How to code in the logic with the data? Are there any libraries that would do that?