If repeated, Copy fileds

Hello everybody.
I’m working on an app for businesses and each business is gonna have Admins and users.
When somebody signs up for the first time I ask for the name of their company and I want the workflow to be something like this:
“If nobody in the database has signed up with that company name, generate a unique ID for that company name and that user becomes an admin”
And "If that company name already exists, show a popup and for the unique ID, then copy the information (Industry, size of the business etc.) from the main Admin user to the new account.
Delete 2
Delete 3
delete
Can anybody help me?
Thanks in advance

This topic was automatically closed after 70 days. New replies are no longer allowed.