Dear Wix code experts,
I’m new to Wix coding and having this urgent issues on my Wix code. Really appreciate you help and guidance.
When user enter in user input form, it get updated in DB (refer to screenshots). How to prevent this in the Wix code?
Also any better coding to search several input fields and display the output as a big image in the container (rather than a “list” in my code)?
Thank you for your help.
My coding is:
import wixData from ‘wix-data’;
// For full API documentation, including code examples, visit Velo API Reference - Wix.com
$w.onReady(function () {
//TODO: import wixData from ‘wix-data’;
});
export function searchButton_onClick(event) {
wixData.query(‘WixRunningEventsDB’)
.contains(‘bibNumber’, $w(‘#input2’).value)
.find()
.then(res => {
$w(‘#table1’).rows = res.items;
});
}