Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Registration
email validation - only allow one of several different domains to register
Last Post 01-27-2012 09:12 AM by Candace. 5 Replies.
Author
Messages
Reuben Chew
Posts:78
01-14-2012 08:57 PM
Hi
I have a strange client request but I'm not sure if this is possible to achieve using DR. I want to ONLY allow users with specific domains to register with the website. So for example, I want only people with gmail.com, yahoo.com, hotmail.com and aol.com email addresses to register with the website.
I figured that we can do this using client-side email string validation. Is that possible? how would the string validation look?
Or is there a better way of doing this?
Any assistance is appreciated. Thanks.
Candace
river guide
Posts:2431
01-16-2012 07:27 AM
Hi Reuben,
You might use a regular expression validation to accomplish this. Thanks!
Candace
Chad Nash
Posts:5260
01-16-2012 12:36 PM
Yes a regular expression should do it... But you might also look at client side events and/or SQL Validation as an option as well.
Thanks!
-Chad
Reuben Chew
Posts:78
01-16-2012 02:52 PM
i don't suppose you have a quick example of how the validation should look? I am getting tripped up with the "OR" part of the validation (as in hotmail.com OR gmail.com OR yahoo.com).
Reuben Chew
Posts:78
01-27-2012 06:30 AM
Hi there
I just want to keep this thread alive. I'm still trying to make this work. Can anyone provide me with an example on how to deal with this using regular expressions?
Candace
river guide
Posts:2431
01-27-2012 09:12 AM
Hi Reuben,
These links might help you out:
http://www.mkyong.com/regular-expre...ould-know/
http://www.joomlapolis.com/forum/10...ail-domain
Candace
Forums
>
Product Discussion - DotNetNuke Modules
>
Dynamic Registration
film izle
720 izle
film
sinema izle
film makinesi
T�rk�e dublaj film
film izle
film izle
baglan film izle
sinema izle
1080 film izle
film mercegi