# Accordian for FAQs

**URL:** <https://forum.bubble.io/t/accordian-for-faqs/35530>\
**Category:** Need help\
**Created:** [August 12, 2018, 12:18am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530 "2018-08-12T00:18:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![multicorn](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@multicorn](https://forum.bubble.io/u/multicorn)\
**Post date:** [August 12, 2018, 12:18am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/1 "2018-08-12T00:18:14Z")

</div>

Hello guys,

I could use some help from seasoned Bubblers about my current situation.

So I’ve been trying to create FAQs that function like accordian. I have gone through past posts with similar questions and can’t seem to figure out the results I found.

@anon39705632 had a perfect example of what I’m trying to achieve here:

> **[Bubble - Visual Programming](https://dave-auld-demo-stuff.bubbleapps.io/group_collapse_demo)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Unfortunately there is no way to check out the editor for that preview page.

I also see some folks creating accordian using RG’s. I’m a little confused on the best way to approach this. Use RG’s? or not?

@anon39705632 , I could use your wisdom here, brother.

I would definitely appreciate inputs from other folks on here if you got a different method for creating accordian.

Thanks

---

<div class="post-metadata">

**Author:** ![bojans](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bojans/32/19641_2.png) [@bojans](https://forum.bubble.io/u/bojans)\
**Post date:** [August 12, 2018, 12:22am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/2 "2018-08-12T00:22:43Z")

</div>

Yes, the right way to go is to have an RG with two groups:

Top - Visible, text field Question and  
Bottom - Not Visible, Collapse height when hidden, Animate, text field Answer.

Create FAQs in the database, fields Question and Answer. Bottom group with answer text, in the conditions make visible when Current Cells FAQ is RG’s Current FAQ (custom state). When top group with Question is clicked, set custom state RG’s Current FAQ to be Current Cell’s FAQ.

See results here: [www.herihub.com/faq](http://www.herihub.com/faq)

Let me know if you have any questions.

---

<div class="post-metadata">

**Author:** ![multicorn](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@multicorn](https://forum.bubble.io/u/multicorn)\
**Post date:** [August 12, 2018, 12:37am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/3 "2018-08-12T00:37:29Z")

</div>

Hello Bojan,

Thanks for jumping in on this quickly. I appreciate the response.

Now, that’s a beautiful FAQ center. I’m trying to create something similar.

I figured RG’s would be how I would need to get the accordian handled, but the custom state thing still eludes me right now. I always tend to mess up custom state workflows.

Would it be asking too much if you could do a quick demo of your response above?

Believe it or not, Bubble has been easy to learn whenever I can dig into the editor/workflow for problems I’ve faced in the past.

Thanks in anticipation.

---

<div class="post-metadata">

**Author:** ![bojans](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bojans/32/19641_2.png) [@bojans](https://forum.bubble.io/u/bojans)\
**Post date:** [August 12, 2018, 12:39am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/4 "2018-08-12T00:39:24Z")

</div>

My pleasure. I always prefer a quick TeamViewer session because I can get it done in 2 minutes vs writing a demo. DM me.

---

<div class="post-metadata">

**Author:** ![multicorn](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@multicorn](https://forum.bubble.io/u/multicorn)\
**Post date:** [August 12, 2018, 12:40am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/5 "2018-08-12T00:40:00Z")

</div>

Sure thing. Thanks!

---

<div class="post-metadata">

**Author:** ![anon39705632](https://avatars.discourse-cdn.com/v4/letter/a/b38774/32.png) [@anon39705632](https://forum.bubble.io/u/anon39705632)\
**Post date:** [August 12, 2018, 7:56am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/6 "2018-08-12T07:56:08Z")

</div>

Here is the link to the editor view of the demo you mentioned.

> **[Bubble Editor - dave-auld-demo-stuff](https://bubble.io/page?type=page&name=group_collapse_demo&id=dave-auld-demo-stuff&tab=tabs-1)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

Cheers,  
Dave

---

<div class="post-metadata">

**Author:** ![multicorn](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@multicorn](https://forum.bubble.io/u/multicorn)\
**Post date:** [August 12, 2018, 11:51am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/7 "2018-08-12T11:51:33Z")

</div>

Thanks a bunch @anon39705632 . The editor made a lot of difference 🙂

Much thanks to @bojans for being selfless with the assist.

---

<div class="post-metadata">

**Author:** ![multicorn](https://avatars.discourse-cdn.com/v4/letter/m/4491bb/32.png) [@multicorn](https://forum.bubble.io/u/multicorn)\
**Post date:** [August 13, 2018, 2:01pm UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/9 "2018-08-13T14:01:23Z")

</div>

Thanks @NigelG. I totally forgot to check out your awesome Bubble demo site.

With the key pieces from Dave, Bojan and your latest recommendation, I have put together a neat accordian page.

Thanks a lot, guys!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [October 21, 2018, 12:22am UTC](https://forum.bubble.io/t/accordian-for-faqs/35530/10 "2018-10-21T00:22:02Z")

</div>

Closed on October 21, 2018, 12:22am UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
