//SEARCH FUNCTION🚀
function search() {
$w("#dataset1").onReady(function () {
/////SEARCH BAR AND DROPSOWN///////// No problem, able to run
$w("#dataset1").setFilter(wixData.filter().contains('itemPageText', String($w('#brands').value))
.and(wixData.filter().contains('materials', String($w('#materialstype').value)))
.and(wixData.filter().contains('title', String($w('#searchtittle').value)))
.and(wixData.filter().contains('reinforcements', String($w('#reinforcements').value)))
.and(wixData.filter().contains('printingProcess', String($w('#processingtechnology').value)))
.and(wixData.filter().contains('materialsForm', String($w('#deliverform').value)))
//.and(wixData.filter().contains("certifications", String($w('#certicate').value)))
/////MULTISELECTION BOX///////// unable to function when selection more than one
.and(wixData.filter().contains('aviFor', String($w('#availablefor').value)))
.and(wixData.filter().contains('polymer', String($w('#polymerfamily').value)))
.and(wixData.filter().contains('polymer', String($w('#polymerfamily2').value)))
.and(wixData.filter().contains('polymer', String($w('#polymerfamily3').value)))
.and(wixData.filter().contains('polymer', String($w('#polymerfamily4').value)))
.and(wixData.filter().contains('polymer', String($w('#elastomer').value)))
.and(wixData.filter().contains('polymer', String($w('#simulated').value)))
.and(wixData.filter().contains('polymer', String($w('#simulated2').value)))
.and(wixData.filter().contains('polymer', String($w('#metal').value)))
.and(wixData.filter().contains('polymer', String($w('#metal2').value))))
//.and(wixData.filter().ge("tensilestrength", Number($w('#tensileSTslider').value))))
//.and(wixData.filter().contains("colour_mfg", String($w('#colorfinishing').value))))
.then(count)
Multi-selection Box
-Its no problem and the result able to shown when visitor just select one type of item in the selection box
-But when the visitor select more than one choice, the data shown no result found