Hide specific elements in different sections within a repeater

Hi guys,

I’m using a repeater to create my Pricing & Plan page. There are 4 plans, thus 4 sections, each with it’s own unique elements. This might be a beginner question but how do I show/hide specific item (or element) in different sections within the repeater?

There will be no fancy conditions. Simply want to do things like: add a “Recommended” label to Plan #3, but make sure it won’t show up on the other 3 sections, which is what the repeater is doing now.

Thanks so much!

You are writing about something that you are making, but no code is shown ?
Where is your code, to work with ?

Something this way… (just an example).

$w.onReady(function () {
  $w("#myDataset").onReady( () => {
    $w("#myRepeater").forEachItem( ($item, itemData, index) => {
      if(itemData.xxxxxx === true){
        $item("#myText").show();
      }
      else {
        $item("#myText").hide();
      }
    } );
  } );
} );