youthfc.co.uk/players/id/45cc4c62-85fb-480f-afdc-8346089b0a05
Having landed in a dynamic page using the _id as part of the url, I would like to extract the passed _id to run a .eq paramater on a query
I am struggling because this dynamic page works well, updates the collection etc. in the sandbox from a coded onclick event, but will not work on the live published site
wixData.save("Registration2018", toSave)
.then( (results) => {
let item = results;
$w("#successText").show();
console.log("saved to Regestration");
} )
.catch( (err) => {
let errorMsg = err;
console.log("error happened");
$w("#errorText").show();
} );
I read elsewhere advice that said un connect all links in the editor and handle it all with code?
Used session - sorted