top of page

Join our waiting list today

To join our waiting list please complete the form below

Birthday
Day
Month
Year
bottom of page
import wixUsers from 'wix-users'; import wixData from 'wix-data'; $w.onReady(function () { const user = wixUsers.currentUser; // Only run if user is logged in if (user.loggedIn) { const userId = user.id; // Generate a short User ID: usr + last 4 chars of Wix user ID const shortId = "usr" + userId.slice(-4); // Update member profile if User ID is empty wixData.query("Members/PrivateMembersData") .eq("_id", userId) .find() .then((results) => { if (results.items.length > 0) { const member = results.items[0]; if (!member.userID) { // only assign if empty member.userID = shortId; wixData.update("Members/PrivateMembersData", member) .catch((err) => console.error("Error updating User ID:", err)); } } }); } });