Our Page coding is done from more than 1 year : Perfectly Working! We Use this page inut forms last Saturday, All was good! This Monday, Coding not working anymore! LIVE SITE + PREVIEW! ciblehockey.com How can you explain ?
Your code was poorly written in the first place, to the point where an error was very likely to occur, and I’m surprised it took this long. If you’d like help, post it here as a code block.
Thanks For answer!!! My problem is the SORT values , I forgot we change the sorting method, why this code not working anymore! I apologize to WIX… How you could code it ?
export function table5_rowSelect(event) {
//Add your code for this event here: let rowData = event.rowData; //console.log(rowData);
wixData.query(“StatsPlayerList2”)
.eq(“teams”,rowData.teams)
.eq(“teamShortName”,rowData.teamShortName)
.find()
.then((results)=>{ let item=results.items[0];
wixData.save(“StatsPlayerList2”,item)
.then((res)=>{
$w(“#dataset4”).refresh()
$w(“#button96”).enable();
$w(“#button80”).enable();
$w(“#button72”).disable();
$w(“#button71”).disable();
$w(“#button73”).disable();
$w(“#button74”).disable();
$w(“#button89”).disable();
$w(“#button90”).disable();
$w(“#button91”).disable();
The code below will be less error prone for the dropdown change, and you can see some of the patterns here you can apply to your table5_rowSelect. However, an error in the rest of your code can still throw it off, including your buttondisable function.
good try David! but this code do not display any error but there’s one in it for sure. Inserting this code Block all code page execution. will keep mine!