Good afternoon all,
I am almost complete with my page code but would like to know how to display image, number and rich text field types on my repeater. Besides this, my code works flawlessly.
Here is my code:
wixData.query("batteryfitment")
.include("title")
.contains("year", VINInfo.Results[8].Value)
.and(wixData.query("batteryfitment")
.contains("make", VINInfo.Results[5].Value)
.and(wixData.query("batteryfitment")
.contains("model", VINInfo.Results[7].Value)))
.find()
.then((results1) => {
let results = results1;
console.log(results1);
$w("#text1").text = results.items[0].title[0].name;
$w("#text3").text = results.items[0].title[0].description;
$w("#image8").src = results.items[0].title[0].mainMedia;
All feedback/advice is greatly appreciated!
Best regards,
Brittani