Skip navigation
Currently Being Moderated

Limit user registration based on email

Aug 2, 2012 4:44 PM

Tags: #email #forms #users #form #limit #registration #prevent #validation_script #form_validation #web_form #web_forms

I have a client that wants to allow people to register, but wants to limit registrations to people who attend their school (which may expand to more schools later on). Is there a way to restrict a user from registering based on their email?

 

For example:

 

User A can register because their email address is *user.name*@BCUniversity.edu

User B can't register because their email address is *user.name*@NotBCUniversity.edu

 

I assume there would be a way to editing the form validation to only accept registrations from @BCUniversity.edu only, but I do not know how I would go about doing that. Any help would greatly be appreciated.

 
Replies
  • Currently Being Moderated
    Aug 2, 2012 4:51 PM   in reply to GraphiqueCreative

    If you are using Dreamweaver, you should be able to do this with the Spry Validation tools. I would imagine some Javascript or jQuery could be used as well.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points