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:
- Does the button need to start off as ‘Hidden’ in the properties panel?
- Is something name wrong (caps or lowercase) to make this not work?
- Could it be my browser type? I use FF, but many still do.
- Do you I need to reconnect things?
- 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
