Something strange happened: Everything was working fine and suddenly binding now only works partially! I can’t figure out what happened. Has anybody else had a similar issue?
I suspect you’ve deleted some of the basic user fields from your user account page. Sygnal Attributes relies on those as part of the base user object, which in Webflow is 4 parts;
Name
Email
Opt-in
Privacy
You can hide those fields on the page by wrapping them in a DIV with display: none, however if those fields are missing from the page code, the User Info object will fail to build.
I’ll check the docs to make certain that’s clear. I also need to rethink the User Info builder and see if there is an elegant way to handle missing fields.
If you do delete the Communication Opt-in and add it back in, make sure that the checkbox element has the correct ID (“wf-sign-up-accept-privacy”), otherwise it won’t work either. As Michael mentions the best way to address this is to hide the field not delete it.
One other thing to note is that the error only showed up right after login. it didnt show up on page load, which is why I had missed it.
Im sorry but wfu-bind = “$user.data.beskrivning”
Does not work.
If you check the image you will see that all of the fields are in the account page.
It is possible to get emai and name but no the anything from the custom fields.
I have read the documentation and cant find something that i missed to do.
Why is this?
EDIT:
Name
Email
Opt-in
Privacy
You say thesee needs to be put in but webflow blocks me from setting Privacy.
You can only add Name, Email and Opt-in inside of the form.
Privacy is not possible anymore to add in the user account page.
Lastly i dont get any errors in the console, but what you can see is that the input field is empty. It does not fill it with the $user.data.beskrivning
It seems to be working.
But i dont know what i did.
Either it has to do with me publishing on an custom domain OR
That i had to add the custom fileds in the “Register” page as well as the “My Account” page.
In my case i had not added the fields in the “Register” page.
You don’t need those fields on the register page, and the custom domain doesn’t matter.
My best guess is that you hadn’t logged out and logged back in again after adding the custom fields, so your computer had an old User object cached.
I logged in and out but i think that was not enough to clear the cache.
It was when i change domain to publish i think it really cleared the cache.
But even that should not be to problem because i tried logging in with icognito mode in chrome and it didnt work. So Its a little bit of magic i would say