Hi,
I created a registration form that is linked to Joomla registration form. On the form, there is an email address field. I've been trying to find a way to validate a user's email address against a list of accepted domains. For example, if a user enters a non-gmail.com or non-yahoo.com email address, the system not only would prompt him to enter only a gmail.com or yahoo.com email address, but the system would only accept those domain email accounts. How can I make that happen? Any advice would be appreciated.
Thanks,
mov2046
I created a registration form that is linked to Joomla registration form. On the form, there is an email address field. I've been trying to find a way to validate a user's email address against a list of accepted domains. For example, if a user enters a non-gmail.com or non-yahoo.com email address, the system not only would prompt him to enter only a gmail.com or yahoo.com email address, but the system would only accept those domain email accounts. How can I make that happen? Any advice would be appreciated.
Thanks,
mov2046
Hi mov2046,
You could do a check for these two domains fairly easily in the ServerSide validation box; or in the browser with a custom LiveValidation using a regex to look for @gmail.com or @yahoo.com
Bob
You could do a check for these two domains fairly easily in the ServerSide validation box; or in the browser with a custom LiveValidation using a regex to look for @gmail.com or @yahoo.com
Bob
This topic is locked and no more replies can be posted.