Hi! I’ve made a custom registration form ask users for additional information while signing up proccess. I got ‘name’, ‘surname’, ‘mail’, ‘phone’, and ‘password’ fields. To link them to the WiX Contacts data base I used the following code:
import wixUsers from ‘wix-users’;
$w.onReady( function () {
$w(‘#button5’).onClick( () => {
wixUsers.register($w(‘#Mail’).value, $w(‘#Pass’).value, {
“contacts”: {
“firstName”: $w(‘#Name’).value,
“lastName”: $w(‘#Surname’).value,
“phone”: $w(‘#Phone’).value,
“email”: [$w(‘#Mail’).value],
}
});
$w(‘#lightbox1’).hide();
});
});
The thing is, it collects only email and passwors information and misses the rest. I feel that I wrongly wrote distinaton field names, but I can’t find this data base among my site data bases. It is only visible in my sites dashboard and I can’t see Field Keys for my code there. What I gotta do, guys?