Hide Button If No Content In Database (Repeater)

Wow guys, thanks for going back and forth and trying to solve me issue.

Unfortunately this example:

$w . onReady ( function (){
$w ( “#repeater1” ). onItemReady (( $item , itemData , index )=>{
const repeatedData1 = itemData [ $item ( “#email” ). id ]
const repeatedData2 = itemData [ $item ( “#socialMedia” ). id ]

if ( repeatedData1 ){ $item ( “#email” ). show ()}
else { $item ( “#email” ). hide ()}

if ( repeatedData2 ){ $item ( “#socialMedia” ). show ()}
else { $item ( “#socialMedia” ). hide ()}
});
});

Still did not work, and I am trying to figure out why. It totally makes sense.
-Yes, the buttons are in the repeater, or they wouldn’t work with the database, right?

Questions I ask myself:

  1. Does the button need to start off as ‘Hidden’ in the properties panel?
  2. Is something name wrong (caps or lowercase) to make this not work?
  3. Could it be my browser type? I use FF, but many still do.
  4. Do you I need to reconnect things?
  5. Could other code interfere with this? I guess it would scream at me if it did.

Here is another image with as much detail possible.

I am sorry to be a pain, and I appreciate ALL your efforts so far.

Cheers