Forums | Mahara Community
Support
/
E-Mail Registration Form
24 June 2009, 9:57
Hi Guys,
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.
thx Alex
24 June 2009, 23:14
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.