The following seems to bring back the 'owner' rather than 'user' ID:
$w("#button6").label = wixUsers.currentUser.id;
I use the button to just display the value of the variable but the operational code is below (and it doesn't seem to work):
Where am I going wrong? Any ideas??