I would like to Sign users up and Log users in, but would want to use phone numbers instead of emails as the main log in method. Is there a way to do this? Or is it compulsory to use the email as a log in.
Just populate the email field with the users phone number and append @yourdomain.com
On signup you can still just present a phone field and a password (if needed) then in workflow, make the email field the above mentioned and then save the phone number in a separate db column also. If you don’t need a password field from user, assign them a temp one.
I’ve thought of that before, but have no idea how to make it work.
I tried this for using signup as phone number + @yourdomain.com, but it doesn’t work as they don’t allow numbers to be entered into the email field.
Also, how do you add @yourdomain.com behind the input? I’ve tried it in both the conditional formatting and the signup workflow but am unable to add it to the input. Could you provide some screenshots for how it’ll work?
Maybe :append will work?
:append does work if the input field is converted to text. That’s something new I’ve learnt at least, thanks!
Would you happen to know if there’s a way for it to work with a number input field too?
Sorry but I’m not sure about that
You may need a plugin (after a quick forum search): How to convert a text to number?
It looks like you could use the “Text (numbers only)”. The workflow still allows you to sign the user up with that method. Does that help?
Maybe using input formatter may also help? https://bubble.io/plugin/input-formatter-1511219683528x454660121898516500
That works fine for me now, didn’t notice the text(numbers only) content format. Thanks!
Hey @tanqinta, if you think has fixed your problem, remember to check the Solution button to help others out
Yeap, I checked it the moment I tested and it worked!