Hello everyone,
It’s my first time creating an website and i’ve been struggling a little bit, I would like to ask for some help, please.
I made an member section in which each member can download files that I send to them, and I would like them to review it by selecting a grade and posting a comment if they would like.
#dataset1 is the dataset meant to receive this review and comment, its all set and working, but when I publish my website only the first repeater works fine, and it fulfills the information in the dataset, but the other repeaters doesn’t at all. I tried to look for this information here in the forum but couldnt find.
Thanks in advance.
Here’s the code of this page now:
import wixUsers from ‘wix-users’ ;
import wixData from ‘wix-data’ ;
$w.onReady( function () {
let user = wixUsers.currentUser;
let userEmail;
user.getEmail().then( (email) => {userEmail = email;
$w( “#dataset1” ).onReady(() => {
$w( “#dataset1” ).setFilter(wixData.filter()
.eq( “email” , userEmail)
)
})
} );
});