Magento block user email extension -


hi how can block user email extension being registered? example don't want users register using email extension @example.com. there default way in magento done?

you can add 1 new class regex validate example.com domain enter customer.

just add validation.js this

/@example.com\s*$/.test(mystring) true if string ends in @example.com (plus optional whitespace). 

hope sure you.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -