I had it working for a second and tried something else in the lines of code & now for the life of me I can't get it working again.....
import wixData from "wix-data"; // For full API documentation, including code examples, visit http://wix.to/94BuAAs $w.onReady(function () { $w("#gobutton").onClick(()=>{ $w("#dataset1").setFilter(wixData.filter() .contains("aL", $w("#Type").value) .contains("paragraph", $w("#textBox1").value) .between("price",parseFloat($w('#pricefrom').value), parseFloat($w('#priceto').value))) }); }); Here is my code. Any help would be appreciated. I am brand new @ coding.
What about adding an or to that code as the example from the api section
https://www.wix.com/corvid/reference/wix-dataset.Dataset.html#setFilter
import wixData from 'wix-data'; // ... $w("#myDataset").setFilter( wixData.filter() .startsWith("lastName", "D") .or( wixData.filter() .ge("age", "21") ) ) .then( () => { console.log("Dataset is now filtered"); } ) .catch( (err) => { console.log(err); } );
Have a look at these examples.
https://www.wix.com/corvid/example/checkbox-dropdown
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-MULTIPLE-FILTERS-WITH-RESET
https://www.vorbly.com/Vorbly-Code/WIX-REPEATER-WITH-MULTIPLE-FILTERS
https://www.youtube.com/watch?v=r0DLqkRDJ34