On my site, changed the field "User Name" to "Confirm Your Email." This means that both the E-mail address as the User name will be the same. But if the user types a different e-mail in any of these fields, the system does not identify who are different.
Is there any way for the registration form can check that the e-mail filled in these two fields are equal?
Something like the password fields, which warn that the values filled in are different.
It's possible to use CB Auto Actions to add the jQuery to the header that adds the class "{equalTo:'#email'}". However, there's still no PHP to enforce this. Best approach would probably be to develop some sort of plugin to properly do all of this for you so it displays properly, validates properly, and stores properly. The easiest approach is to disable the Username field and use CB Auto Actions with after registration trigger to set the username to the email address in a field action.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Nope, it's trial and error. Navigate to CB > Plugin Management > CB Auto Actions to begin. Below is an example of using CB Auto Actions to change usergroups, but it's not the usecase you're using.
Kyle (Krileon) Community Builder Team Member Before posting on forums:
Read FAQ thoroughly
+
Read our Documentation
+
Search the forums CB links:
Documentation
-
Localization
-
CB Quickstart
-
CB Paid Subscriptions
-
Add-Ons
-
Forge
-- If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
-- If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please
send me a private message
with your thread and will reply when possible!
-- Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
-- My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.