# How do I hide a repeater item not connected to a database

**URL:** <https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550>\
**Category:** Ask the community\
**Tags:** question, code\
**Created:** [February 10, 2025, 4:14pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550 "2025-02-10T16:14:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![user5070](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@user5070](https://forum.wixstudio.com/u/user5070)\
**Post date:** [February 10, 2025, 4:14pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/1 "2025-02-10T16:14:26Z")

</div>

Hi there!  
I have a repeater which is not connected to a databse. Each repeater container has four items: Name, Bio, Photo, and website link. My problem: Not all containers have a website link, therefore here’s what I’m trying to do: I want to hide the website link for those who don’t have a website.  
What I’ve tried:  
I’ve adapted basic code snippets suggested in various links in the forum and I’ve had no luck. I’ve also tried deleting the field for those without a website, but it deletes it in all the repeater containers.  
Additional info:  
My repeater is #repeater3. The text field with the website is #text59. For those with a website, I have a link in the rich text field (#text59) linked to the words :Visit Website\>  
For those without, I’ve put in the text Special Title.  
I’d appreciate any help in this matter. I’m attaching a screenshot of the repeater

 ![Repeater](https://us1.discourse-cdn.com/wix/original/3X/8/d/8dc548f422da156c29afaf011a0c17a8e26db030.jpeg)  
Also:  
Why I’m not connecting the retpeater to a database: I’m only one of many collaborators who manage the website and while I’m able to connect the repeater to a database and I’ve figured out how to hide one item there, the other collaborators might not be able to work with it and I won’t be around to explain how things work to future managers.

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [February 11, 2025, 3:19am UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/2 "2025-02-11T03:19:31Z")

</div>

You will have better results explaining how a database (spreadsheet) works than trying to explain how to code something custom that will hide or show a button when a link is missing or not.

Just connect it to a database and add code to the repeater to check if there is data or not, etc.

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [February 11, 2025, 3:20am UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/3 "2025-02-11T03:20:25Z")

</div>

Or don’t use a repeater at all. Instead use static boxes with text.

---

<div class="post-metadata">

**Author:** ![user5070](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@user5070](https://forum.wixstudio.com/u/user5070)\
**Post date:** [February 11, 2025, 1:19pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/4 "2025-02-11T13:19:10Z")

</div>

I think it’s going to be complicated to explain either way. Thanks for your suggestion! I’ll try out both static boxes v/s database before taking a call.

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [February 12, 2025, 1:47pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/5 "2025-02-12T13:47:58Z")

</div>

Hopefully something works out for you. It is always tricky trying to setup a website for non-techie people to maintain.

Sometimes people question why I build in so many different approaches. Well the answer is: Because I build it in a way that I know will be easy for the Owner to maintain.

Sometimes it takes longer to build, but that’s ok. In the end, it’s their website and they get to keep up with it. Not me.

---

<div class="post-metadata">

**Author:** ![user5070](https://avatars.discourse-cdn.com/v4/letter/u/bbce88/32.png) [@user5070](https://forum.wixstudio.com/u/user5070)\
**Post date:** [February 12, 2025, 4:24pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/6 "2025-02-12T16:24:58Z")

</div>

Hi @codequeen , I found a simple workaround:

1. I got rid of the visit website link altogether.
2. Instead, I connected the author name to a new, rich text field in the database, which I linked to respective websites where applicable.

Thus, no code, no explaining, nothing.  
Sometimes, the solution is to avoid the problem 🙂 And yes, hard agree on the difficulties of setting up a website for collaborators to manage. Thanks for your help and follow up. Much appreciated! 🫶

---

<div class="post-metadata">

**Author:** ![codequeen](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/codequeen/32/88960_2.png) [@codequeen](https://forum.wixstudio.com/u/codequeen)\
**Post date:** [February 12, 2025, 6:55pm UTC](https://forum.wixstudio.com/t/how-do-i-hide-a-repeater-item-not-connected-to-a-database/68550/7 "2025-02-12T18:55:09Z")

</div>

I love this workaround!!! So simple and so efficient!!! :clap:t3:
