# How to Hide Buttons in Repeater for Unpublished Items

**URL:** <https://forum.wixstudio.com/t/how-to-hide-buttons-in-repeater-for-unpublished-items/74342>\
**Category:** Ask the community\
**Tags:** wix-members-area, code, wix-studio\
**Created:** [October 19, 2025, 6:43am UTC](https://forum.wixstudio.com/t/how-to-hide-buttons-in-repeater-for-unpublished-items/74342 "2025-10-19T06:43:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![onemoretime](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/onemoretime/32/104023_2.png) [@onemoretime](https://forum.wixstudio.com/u/onemoretime)\
**Post date:** [October 19, 2025, 3:25pm UTC](https://forum.wixstudio.com/t/how-to-hide-buttons-in-repeater-for-unpublished-items/74342/2 "2025-10-19T15:25:55Z")

</div>

Hi, @user6216

There are probably many similar questions already archived in the forum logs, so try searching with keywords like “repeater hide” — that should lead you to the right answer. For example, articles like the one below might give you some helpful hints! 🙌

> [@How to hide a repeater element depending on a field value?](https://forum.wixstudio.com/t/how-to-hide-a-repeater-element-depending-on-a-field-value/36404/6):
>
> I’m back again with a follow-on. The code above worked to suppress a button in one repeater, but now I need to do the same thing for an additional 6 repeaters. Here’s what I’ve tried so far, without success: $w.onReady(function () { $w(“#repeater1”).onItemReady(($item, itemData, index) =\> { $item(“#button43”).show() if (itemData.status === “n”) { $item(“#button43”).hide(); } else { $item(“#button43”).show(); } }); $w(“#repeater2”).onItemReady(($item, itemData, index) =\> { $item(”#butt…

---

_[View the full topic](https://forum.wixstudio.com/t/how-to-hide-buttons-in-repeater-for-unpublished-items/74342)._
