Hello EasyProfile team,
I am working on registration for users that have e-mail addresses from a specified domain name. I am using regular expressions for this, and it works great up to the point where I have to compare two e-mail fields.
I need to compare the new text field with regular expression to the default e-mail field for registration. If they mach - the registration can take place. If not, the user cannot go further with the registration.
I created a condition for the new field, that if it equals the default e-mail field the user is assigned to the specified user group, and it works OK.
My question is, how to prevent registration if the two e-mail addresses are not equal?
I would be grateful for help,
thanks