Hi,

I have a content type Q/A with title and body field. I have added 20 contents. I like to create a view to display the questions and answers. By default, I like to only see the questions as links (title field). Once People click the links, people should see the answer (body field). then they click the link again, answers will collapse. I am not sure how to do it.

Thanks.

Comments

VM’s picture

hondaman900’s picture

Have you tried using the FAQ module and content type? I've done as you describe with this module. It does this for you via settings and also there is a Q&A add-on module (among others) to extend it's features and functions.

Hope this helps.