Skip to Content Skip to Menu

Same login and username (check equal)

  • Zapan
  • Zapan
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 5 months ago #201158 by Zapan
Hello,

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.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #201170 by krileon
Replied by krileon on topic Re: Same login and username (check equal)
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.

Please Log in or Create an account to join the conversation.

  • Zapan
  • Zapan
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
12 years 5 months ago - 12 years 5 months ago #201183 by Zapan
Replied by Zapan on topic Re: Same login and username (check equal)
Hello,

I installed CB Auto Action Plugins, but I'm not really sure how to configure it.

Is there a tutorial based on it?
Last edit: 12 years 5 months ago by Zapan.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8277
  • Karma: 1443
12 years 5 months ago #201186 by krileon
Replied by krileon on topic Re: Same login and username (check equal)
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.

www.joomlapolis.com/support/tutorials/107-use-cases/18237-assigning-usergroup-based-on-cb-field-value


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.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum