Forums | Mahara Community

Support /
E-Mail Registration Form


anonymous profile picture
Account deleted
Posts: 105

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

anonymous profile picture
Account deleted
Posts: 1643

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.

anonymous profile picture
Account deleted
Posts: 105

25 June 2009, 15:29

Hi Nigel!

thank you! That helped a lot.

Alex

3 results