I am using drupal 8 in my project. Searching a module to create a question/answer with accordion in drupal8.

Comments

pixelsweatshop’s picture

If you want to build a questionnaire in Drupal, then use the webform module. The YAML form module has become the webform module in D8. In there there is some conditional logic, which I guess is what you mean by "accordion". https://www.drupal.org/project/webform

myhemant’s picture

Thanks Nicos for quick responce.
I have downloaded and configure webform modules. But my purpose not resolve. I am searching a module in drupal 8 which is like in drupal 7 questionnaire modules
https://www.drupal.org/project/questionnaire

Where we can add question/Answer in one node.

Thanks again for your response.

pixelsweatshop’s picture

I highly doubt you will find another module that has all the features of that module. The closest you are going to come is using nodes to build your iwn questions and views and some charting module to get your reports.

myhemant’s picture

Thanks Nicos for your response.
Great help
Now I am using view_accordion module to show my questioner on one page.

Thanks again.

sachinsuryavanshi’s picture

With webforms import all the question into DB and then use views for display.

I am also not sure.

I have always use Moodle for e-learning related sites.

pixelsweatshop’s picture

Webforms and views don't go well together. Use nodes

myhemant’s picture

Hi Nicos,
Didi't get your point. I am using nodes and show accordion with views page.
Can you please explain.

Thanks you.

pixelsweatshop’s picture

I no longer have an idea what you have done and it appears I am answering two people. I need you two to tell me more about what you have for me to help further.

jozo.starosta’s picture

Hi nicoz,
I am the 3-rd person here.
I would like to use a node type to build various types of questionnaires.
Would you direct me to some on-line documentation where can I study how to do that?
Thank you

pixelsweatshop’s picture

I am not aware of any online documentation for using node types to build various types of questionnaires. The only thing is how to add fields to core https://www.drupal.org/docs/7/nodes-content-types-and-fields/add-a-field... and it is just the basics.