Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By myhemant on
I am using drupal 8 in my project. Searching a module to create a question/answer with accordion in drupal8.
Comments
~
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
Thanks Nicos for quick
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.
~
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.
Thanks Nicos for your
Thanks Nicos for your response.
Great help
Now I am using view_accordion module to show my questioner on one page.
Thanks again.
can we use Views?
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.
Webforms and views don't go
Webforms and views don't go well together. Use nodes
Hi Nicos,
Hi Nicos,
Didi't get your point. I am using nodes and show accordion with views page.
Can you please explain.
Thanks you.
~
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.
using nodes in a questionnaire
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
~
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.