Hey folks,
I am very very new to Adalo. I am trying from the last few days to setup my Signup Screen in a way that will allow new users to only sign up if they use their company/work email ID. To test this I have created a database of allowed domains. I need to check the email domain against this database at the time of signup and only create a user record if the domain exisits in the database. Else display an error message saying ‘domain not registered with xxxxx (my app name)’. I did try reading through the similar threads on this topic but some are too complex for me and some are a little outdated. Any help is greatly appreciated.
We actually implemented a similar solution for a client project at Impero IT Services, where we needed to allow only employees from specific organizations to register in a field service management app.
- Create a Database Table for Approved Domains
Domain
(Text) → Example: xyz.com
- Sign up screen
Follow this
- Add Custom Action Workflow to Check the Domain
-
Add a text input for email
-
Create a button → On click
-
1st Step: Use a custom action to extract the domain from the email field. Adalo doesn’t support full string manipulation out of the box
-
Use an intermediate screen or additional input that asks only for the email domain after they enter their email
-
OR, if you’re on a paid plan, you could use Integromat/Make or Zapier to parse the email domain before it reaches Adalo and return a success/fail flag.
- Query the
Approved Domains
- Use a list filtered by “Domain contains Logged In User > Email’s domain”
- If matched → Proceed with signup
- If no match → Show a warning text
- Error Message
- Text “Domain not allowed”
- set “Only when the current email domain is NOT in Approved Domains”
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.