Show userName instead of userEmail in all forms and lists when userEmail is set to unique.

I was exploring Frappe and tried to create a user. When I saw the user list, I observed the ID field shows userEmail. Now, in any form where I want to bind a particular user, I get to see the list of userEmails. Instead of which I want to show the list of userNames.

I tried changing the Naming rule to “Set by User” and Auto Name to “prompt” in the DecType section. Which allowed me to see userName in all the places. But, doing so, I think Frappe considers user’s names as unique field and I am no longer able to create users having the same names.

Require a solution to keep user’s email as unique fields while showing the names in the forms and the lists.

Hi @kevin_seven,

Please go to the User DocType and set it.

Then reload (Ctrl + Shift + R) and check it.

Thank You!

1 Like

Thanks for your help, I followed your guidance and made changes to the Job Applicant doctype’s view settings, but the changes only applied to link fields and in list view. The widgets are still displaying emails. Is there any solution for this also?
Screenshot from 2023-09-27 15-47-23