import wixData from ‘wix-data’
$w.onReady(function () {
$w(“#repeater1”).onItemReady(($item, itemData, index) => {
$item("#text84").text = itemData.firstName;
let finalResult = itemData.multiCheckboxField;
let textResult = finalResult.toString();
$item("#text86").text = textResult
});
wixData.query(“paymentForm07”)
.contains(“multiCheckboxField”,“May”)
.descending(‘title’)
.gt(“multiCheckboxField”,“Peter”)
.find()
.then((results) => {
if (results.totalCount > 0) {
$w(“#repeater1”).data = results.items;
}
})
.catch((error) => {
console.error(error);
});
});
I had the above code working, but when I tried to change “May” line10 to ‘firstName’, the code no longer work, is there any solution?
Thx for help