Hey
Please insert your code here to get help with that. Insert / Paste your code, then select all your code and choose SCRIPT which is the icon on the toolbar at the far right. Then we can try to help you, without any code helping you won’t be easy.
OK - Here is my code (I did not understand your ref to SCRIPT on the far right) so it is a copy and paste.
The Editable Text boxes and upload image are connected to the Dataset - the searchResults Table is free standing.
Thank-you for your interest.
David
// For full API documentation, including code examples, visit [u]http://wix.to/94BuAAs[/u] import wixData from ‘wix-data’;
$w.onReady( function () {
//TODO: write your page related code here…
});
export function searchButton_click(event) {
//Add your code for this event here:
wixData.query(“Stock”)
// Query the collection for any items whose “Name” field contains
// the value the user entered in the input element
.eq(“title”, $w(“#StockNumber”).value)
.find() // Run the query
.then(res => {
// Set the table data to be the results of the query
export function removeButton_click(event) {
//Add your code for this event here:
$w(“#StockData”).remove()
. catch ( (err) => { let errorMsg = err;
console.log(errorMsg);
});
Hey
I can’t see any obvious errors but you wrote “This failure mostly occurs when I change the Image” and I can’t see any code that has to do with any image uploading connected to this dataset.