How can I make a civi event registration form that collects the individual's information as well as the organization to which they are affiliated?
I have a number of webforms where the user is logged in and we have set the auto-complete to be based on the relationship between the user and their organisation.

Contact 1 is the individual and Contact 2 is the organisation.

I would imagine that using non-logged in users is similar, depending on how exposed the organisation list is? Would it make two contacts if there were none matching then create a relationship?