Using accordion for tag selector on event submission form

The forward-looking reader may have already determined that I’m trying to put the tag selector checkboxes on our event submission form inside a hidden menu of some sort. I found lw-accordion.scss and the styles in it, but I’m not 100% sure how to apply them (couldn’t find anything in the CMS or calendar documentation). Messed around with it some but didn’t make any headway so figured it’d be quicker to ask.

Honestly the existing checkbox layout is fine, I just need a simple way to show/hide it since it’s not required. The accordion format is not strictly necessary, but I found it in the existing code so I figured it might be a starting point.

Maybe you could just surround the tag selector checkboxes with an HTML details element, which is essentially a native accordion.

<details>
    <summary>Tags</summary>
    <!-- tag selector code here -->
</details>
1 Like

Oh dang that is exactly what I’m looking for, I’ll try that out! Thanks Jon!

1 Like