How to prevent duplicate username or userno when people in signup page?
Question
Application Type
Reactive

How to prevent duplicate username or username when people in signup page?

I tried with some logic but it didn't work for me.

Please help out from the question, with better solution.



Thank you

Solution

I think this post can answer you

https://www.outsystems.com/forums/discussion/60171/how-to-avoid-duplicate-username-when-you-add-new-user/

But, what you can do is, when you are doing the signup, on the same server action to do the signup, you create and call another server action(action x) that will check if the username was already used, how you can do that? On the server action x, you use an aggregate that will filter with the username provided by an input parameter and there will be an output saying if the list is empty or not. If is empty which means the username that is being used to do signup is an original one.

Kind Regards,

Márcio

Thanks for your support

Márcio Carvalho

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.