Hi everyone,
I hope this posts finds you well,
I have been trying to overcome an obstacle I found while working on my website. I appreciate any help I can get.
I want to update the field “rank” with the current value for “#input5” in my alloperations collection, which is connected to my “#dynamicDataset” every time the page is loaded.
This is my current code that relates to this issue:
$w.onReady(() => {
$w("#dynamicDataset").onReady(() => {
$w("#dynamicDataset").setFieldValue("rank", $w("#input5").value);
$w("#dynamicDataset").save();
});
});
I am using the SetFieldValue then save method, I have also tried the update method with no luck so far.
- My database collection alloperations is open to anyone to update.
- I have been continuously refreshing my live database.
I attach a picture of my database
I appreciate any help I can get,
Sincerely,
Nicolas