Hello mates,
@Er.Muthu K
The post-opener gave enough information to understand the problem.
If you take a careful look onto all his posts, you should recognize, that the post-opener is looking for a —> CheckboxGroup or even multiple combinations of CheckBox-Groups.
@draco_997
What you are trying to achieve is not one of the easiest steps in Velo-Coding.
You can take a look onto this example here, where you will find Check-Box-Groups and multiple FILTERING in action…
https://www.media-junkie.com/pflegeservice
You can load the Main-Preset in the given example (which looks like that…)
Then you will see 2x Check-Box-Groups appearing above the table…

This little code-snipet could be useful for you…
CBoxes[0] = "sprache"
CboxValues[0] = ["sprache1", "sprache2", "sprache3", "sprache4"] //...and so on.....
$w.onReady(function() {
//Check-Boxes -------------------------------------------------------------
$w('#myCheckboxGroup').onChange((event)=>{
CboxValues[0] = $w('#myCheckboxGroup').value
console.log(CboxValues[0])
})
//Filter-C-Boxes----------------------- [loop trough all C-Box-Values of a C-Box] --------
for (let a=0; a < CboxValues.length; a++) {
query = query.eq(CBoxes[0], CboxValues[0][a])
}
console.log(query)
query.find()
.then(res => {console.log(res)
itemDATA = res.items
console.log("Item-Data: ", itemDATA)
})
})
Of course you will have to modify the code to your own needs to be able to implement it into your own project.
More information about all this interactive-example & it’s features, you will find here…
https://www.media-junkie.com/databases
…when you follow all the given posts, related to this filtering-tool.
