Hi everyone. I’m new here and I’m in trouble with the data types.
When the user sign up, bubble creates a new default user, right? With email and hidden password at the Data Types tab.
I have 2 kinds of user, so I create 2 Custom Data Type and would like to register the user in the respective Data Type.
Is there a way to change which Data Type table the Sign up will fill?
For a while I’m doing this: Sign up -> Creating a new thing and filling the respective Data type with the register fields.
I have another question: the Login also search the User table, if I want to login the user with a field that is not in the User table, how do I achieve this without creating this field at User table?
Yes, when you perform the “Sign Up” action Bubble will create a new User.
You can’t change where the User is created. But you can either create new fields on the user, or do as you are doing, and create things depending on which user type you want (with Only When…).
To login with something other than email, then you will need to search for the input field, and translate it into an email and then use the password.