Forums | Mahara Community

Support /
E-Mail Registration Form

Alex Rösler's profile picture
Posts: 105

24 June 2009, 9:57 AM

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

Nigel's profile picture
Posts: 1643

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.

Alex Rösler's profile picture
Posts: 105

25 June 2009, 3:29 PM

Hi Nigel!

thank you! That helped a lot.


3 results