Forums | Mahara Community
E-Mail Registration Form
24 June 2009, 9:57 AM
could someone tell which code lines are responsible for checking the email adress format?
I need to make some changes so that only people from certain domains will be able to register.
24 June 2009, 11:14 PM
Hi. There is a Pieform validation rule used called 'email'. It's part of Pieforms, and is in lib/pieforms/pieform/rules/email.php.
I'm not 100% convinced it's used everywhere - just on forms. E.g. there's no format validation in the database. Maybe it will help you though.
25 June 2009, 3:29 PM
thank you! That helped a lot.