Hi folks,
Struggling to get my head around this one. I have a custom sign-up and I have my "new members" set to "manual approve"
When someone new signs-up to my site I need to collect more information and add that in to another database, NOT in to the wix CRM / Customer contact.
Is this possible?
On my signup lightbox page I simpley adde this code. But nothing happens:
export function button2_OnClick(event) { $w('#dataset1').setFieldValue('employer', $w('#employer').value); $w('#dataset1').setFieldValue('jobTitle', $w('#jobtitle').value); }
you got the solution for this??
Tom, I've got a similar setup on a website as to what you are looking for.
I have used the Wix Members app without the Login Bar and also added my own profile pages using the members profile tutorial from Wix here to get my seperate Members dataset, a;pmg with my own custom signup and login lightboxes.
https://support.wix.com/en/article/corvid-tutorial-building-your-own-members-area
This works perfectly and closes after registering details before moving user onto my sign up status page, then both names will be saved in Contacts and once site member is manually approved the member details will be added to 'members' database from the tutorial.
You only capture the additional info of the users first and last names, however you can add whatever user input you want to have on your custom signup lightbox.
import wixUsers from 'wix-users'; import wixWindow from 'wix-window'; import wixLocation from 'wix-location'; $w.onReady(function () { $w("#registerButton").onClick( (event) => { let email = $w("#email").value; let password = $w("#password").value; let first = $w("#firstName").value; let last = $w("#lastName").value; wixUsers.register(email, password, { contactInfo: { "firstName": $w('#firstName').value, "lastName": $w('#lastName').value, } } ) .then( (result) => { let resultStatus = result.status; wixWindow.lightbox.close(); wixLocation.to("/sign-in-status"); //Change the URL ending to whatever page you want to send the user to after they log in. } ); } ); });