Default name upon sign up

When a new user signs up with email and doesn’t complete their profile, how can I default their name to User1000, the next User1001…

You would still need a trigger to do that. How do you define “doesn’t complete their profile”? Is it defined based on them not completing within 24 hours or something else?

They don’t put in their name. So all their activity shows up as their email. A lot of functionality is based on name. I just I could create another column and if name is blank, make them user

Yeah, I think you can do it like this.

Just curious, what functionalities do you have that are “based on name”? It sounds dangerous to me if let say you’re creating relations based on it.

I use name like for messages inside the app, so people know who its from. It is just a label. I don’t use it for ownership on any rows in the data.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.