How to block specific email domains from registering instead of allowing only certain domains? Answered

Post author
Ken Jones

Hello, long time v1.0 user who is new to v2.0 but finding lots to love!
I have software on my site that it is free to access UNLESS you are from a competitor so my Q is — rather than only allowing members from a certain domain is there any way to do the opposite? I want to disallow new members from an email domain.

Comments

3 comments

  • Comment author
    Shadi null

    What if they switch to their personal email?

    Are you planning on storing IP's too?

    Unfortunately the only idea I have for you is to handle this with make/zap by adding a condition to check if the new member email matches any of your competitors domains, then just insta-delete them and send them an automated email.

    0
  • Comment author
    Julian Galluzzo

    Welcome!!

    You can use this script and just swap out the emails to be your competitors instead of personal emails

    https://www.memberstack.com/scripts/require-business-email-for-form-submission

    0
  • Comment author
    Ken Jones

    Excellent. Thanks!

    0

Please sign in to leave a comment.