I need some help for the following:
In my database I have companies and users. At point of sign up I would like to link a user with a company. I do not want to show the users a full list of the companies that have been added to the database. These are the ways I think I could handle them but not sure how to implement any!
(1) Type in a company reference code (that I provide to them) and at point of sign up it checks and validates the reference code and link that user to the company.
(2) Provide a unique URL to an individual with the company preset so they just sign up and do not need to type in any reference code.
(3) Validate the email so that if for example it contains “@zava” then sign the user up. I would then need to manually update the user so that they are linked with a specific company.
Any help on this would be greatly appreciated!