Open Akia85 opened 7 years ago
you can use like this
FJS.addCriteria({field: 'Features.name', ele: '#feature_criteria input:checkbox'});
Thank you Jiren, but it's not working :
Because I want Items with at least the two selected features in the Criteria.
Did you ever find a solution @Akia85?
I try to filter my view with multiple selection from a checkbox.
I have multiple options for "Features" ;
By exemple when I select Exclusive offer and Venetian Society, I want see only items with the at least this selection. (If an item has Exclusive offer + Ventian Society + Wellness, I want it on my view).
So, I tried with type "like" but it doesn"t work, when I select two options the view is empty.
JS: FJS.addCriteria({field: 'Features.name',type:'like' ,ele: '#feature_criteria input:checkbox', all: 'all', delimiter: ', '});
View;
Do you have any advice ?