I see a number of posts on how to use a dropdown to let visitors choose the content of a repeater but I can't seem to find anything about how to filter the items displayed in a repeater automatically when the page loads.
I've tried using $w('#dataset1').setFilter(wixData.filter) but this only works with one function. As soon as I add an additional function the repeater disappears completely as if it can't find any items that match the criteria.
var Teacher = "Teacher"; var Student = "Student"; var School = $w('#text42').text;
gets me nothing but if I remove one of the .eq functions it works. Thinking that I couldn't use 2 .eq functions, I tried using one in combination with .startsWith and I still got an empty repeater.
I'm pretty sure I'm using these functions wrong so any help would be appreciated.