Need to verify custom email field to system email field

7 years 3 months ago #289843 by notyooagain
:dry: No, the custom email address must be the same as what has been entered in the primary email field.

Please Log in to join the conversation.

7 years 3 months ago #289850 by krileon
Then there's no point in the custom email field. Just turn on verify for the email field and it'll force them to enter email twice. This is done by editing the email field within CB > Field Management then under Parameters > Validation set "Verify field input" to "Enable".


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 to join the conversation.

7 years 3 months ago #289855 by notyooagain
Kylie, as stated twice previously I know that the primary email field has its own validation but I want the custom field to validate to the primary email field. The custom field must be the same email address as the primary.

Please Log in to join the conversation.

7 years 3 months ago #289858 by nant

notyooagain wrote: Kylie, as stated twice previously I know that the primary email field has its own validation but I want the custom field to validate to the primary email field. The custom field must be the same email address as the primary.


Best I can suggest is to try CB Query field.

See these videos for help:

www.youtube.com/playlist?list=PLp0puRITgC7MM9iP9FooKB1qk8f5MLWVp

Please Log in to join the conversation.

7 years 3 months ago #289859 by notyooagain
Hi Nant, as per earlier in this thread and suggested by Kylie and I have seen the videos and tried the statement that he suggested but it did not work:(

The statement I tried in the custom email field with CB Query was
SELECT `email` FROM `#__users` WHERE `cb_email` = '[value]'

so can you suggest the correct statement or do I give up on it?

Thanks for your patience guys.
Attachments:

Please Log in to join the conversation.

7 years 3 months ago - 7 years 3 months ago #289933 by krileon
There is no ajax validation functionality between your custom field and the primary email address field. The query validation like you're trying to do will only work if they're already registered. It will not work during registration as there's nothing to compare against yet (their user row doesn't exist yet). My suggestion doesn't work as I misunderstand what you were trying to do, sorry.

I'm completely confused still why you even need this. The primary email address field already exists and can already double verify. Why do you need a custom field to do exactly what the verify field is already doing? I think what you're trying to accomplish with the custom field needs to be addressed instead of trying to do this. Otherwise just turn on the verify validation for the primary email address and copy it to a new field using CB Auto Actions after registration as it accomplishes the same goal.


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 to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.264 seconds

Facebook Twitter LinkedIn