Custom Validation on a repeater element

I have a repeater where each container holds 2 input text fields amongst other elements. I’d like to validate the data entered into the input text fields. Has anyone done this? If so, how do you reference the repeater scope element rather than the global scope input element?

Screenshot your page.

and use https://www.wix.com/velo/reference/$w/repeater/introduction#$w_repeater_introduction_repeated-item-scope

$w("#myRepeater").onItemReady( ($item, itemData, index) => {
  $item("#myRepeatedText").text = itemData.textField;
} );

So you can select using $item, only the corresponding element will take action (not global)

I’m happy with using repeater scope from an event source, but I’m interested in trying to perform custom validation on the input fields in the repeater as per illustrated code:

where $w(‘#inpA) and $w(’#inpB) are the two input text fields in the repeater container. The custom validation section above is in the page onReady section.