# Show and hide clear button

**URL:** <https://forum.finsweet.com/t/show-and-hide-clear-button/1856>\
**Category:** Attributes\
**Created:** [August 31, 2023, 2:45am UTC](https://forum.finsweet.com/t/show-and-hide-clear-button/1856 "2023-08-31T02:45:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shreya](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/shreya/32/1270_2.png) [@Shreya](https://forum.finsweet.com/u/Shreya)\
**Post date:** [August 31, 2023, 2:45am UTC](https://forum.finsweet.com/t/show-and-hide-clear-button/1856/1 "2023-08-31T02:45:56Z")

</div>

Hi,  
Is there a way to show the clear button only when filters are active and hide it when they are not active?  
I’m using radio buttons for filtering.

---

<div class="post-metadata">

**Author:** ![Support-Luis](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.finsweet.com/support-luis/32/53_2.png) [@Support-Luis](https://forum.finsweet.com/u/Support-Luis)\
**Post date:** [September 3, 2023, 8:16am UTC](https://forum.finsweet.com/t/show-and-hide-clear-button/1856/2 "2023-09-03T08:16:18Z")

</div>

Hey @Shreya! Please check out this thread 🙂 → [Hide 'Clear All' filter if no filters are selected - #5 by Support-Luis](https://forum.finsweet.com/t/hide-clear-all-filter-if-no-filters-are-selected/1695/5)
