How to fix Name has an issue: The user name cannot be empty when registering?

0
Hi everyone,   I'm running into this problem where whenever I try to register on my register page and I fill in all of the details like Username etc. it gives me this pop-up that says: "Name has an issue: The user name cannot be empty" while the username is NOT empty. How can I fix this?   Thanks in advance.
asked
5 answers
0

Hello,

 

I think Name attribute is empty, that's why you are facing "The user name cannot be empty" error. This error is generating from User object validation rules. 

 

Make sure to set the value for Name attribute when you are registering and save it in Account object.

 

 

 

Hope it helps!

answered
0

I actually have no idea what you mean, sorry bit of a beginner here haha. I have added some screenshots to help me understand where I should be looking.Scherm­afbeelding 2023-11-27 om 14.30.52.jpgScherm­afbeelding 2023-11-27 om 14.30.09.jpgScherm­afbeelding 2023-11-27 om 14.29.34.jpgScherm­afbeelding 2023-11-27 om 14.29.13.jpgScherm­afbeelding 2023-11-27 om 14.29.07.jpgScherm­afbeelding 2023-11-27 om 14.28.53.jpg

answered
0

Hi Diederik, are you creating a Administration.Account or System.User entity using the data inside your Registration object after the validation? It sounds like the validation is coming from there.

answered
0

Scherm­afbeelding 2023-11-29 om 12.15.32.jpgScherm­afbeelding 2023-11-29 om 12.15.23.jpgScherm­afbeelding 2023-11-29 om 12.15.14.jpgScherm­afbeelding 2023-11-29 om 12.14.53.jpg

The Administration.Account (NewAccount) is after the IsValid decision if you mean that?

answered
0

Please someone give an answer to this question

answered