1. czarrna
  2. Support
  3. Monday, December 05 2016, 10:12 PM
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
admin Accepted Answer
Admin
Hi,
for Joomla email field you can enable the parameter called "Confirm email address (Frontend)" in Easy Profile options. This will show a Joomla confirm email address as normal Joomla registration.
  1. more than a month ago
  2. Support
  3. # 1
czarrna Accepted Answer
Thanks for reply,

However this does not solve my problem.

I would solve my problem if I am able to apply regular expression only for the "confirm" e-mail address, and only in case if this field would be shown only to the specified group of users - the last one is not possible to my knowlegde.

I will have two types of users - 1. any e-mail, and 2. regex specified e-mails - then they are assigned to two different groups of users.

Any idea how to make the default e-mail and new text field with regex equal and prerequisite for registration?

Many thanks
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Any idea how to make the default e-mail and new text field with regex equal and prerequisite for registration?
You can do this only with some custom javascript script. But we does not support custom code.
  1. more than a month ago
  2. Support
  3. # 3
czarrna Accepted Answer
Ok, thanks
  1. more than a month ago
  2. Support
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.