I followed this article
I run and test it and my dataset was updated and saved correctly.
for my next step I created new ratingsDisplay element and ratingsInput and placed them inside a repeater element - applied to all.
However, line 12 (in the link above) const newRating = $w('#ratingsInput1').value; always returns null for the value. Can anyone guide me to make this work in a repeater? thank u all