I have five search boxes and drop downs that are supposed to filter a repeater. I need to filter Country, State, Gender, Qualifications etc… And they should will need to show in the repeater. I am very very new to coding. Could anyone please help? Below is the start of the code I have done so far.
import wixData from “wix-data”;
export function Countrybox_keyPress(event) {
console.log($w(‘#Countrybox’).value);
filter($w(‘#Countrybox’).value)
}
function filter (country){
$w(‘#dataset2’).setFilter(wixData.filter)
.contains(“title”,‘country’, country)
.or(wixData.filter()
.contains(“state”, $w(‘#state’).value)
);
}