Skip to Content Skip to Menu

Confirming CB user name in a registration field

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
9 years 4 months ago #266373 by nant

cagoffice wrote: I just found out that the validation should be shown to the moderator only (not the registrant). We don't want the registrant to know if their field matches anyone in our database. But we do want the moderator to be able to see. Because if it's not a match, it could be spelling mistake etc. that only a live person will be able to confirm.

Is this possible or something custom I would have to pay you guys to set up?


We should be able to set something up for you - you can purchase an hour of professional services and we will propose and implement something.

You can purchase from your profile -> Membership tab -> scroll to Professional support services and purchase an hour.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
9 years 4 months ago #266396 by krileon

Dumb question- where do I find my user table?

In your database. Your validation query for example would be as follows.

Code:
SELECT `id` FROM `#__users` WHERE `username` = '[value]'

Then depending on whether you want to match empty results or non-empty results will determine how it'd validate. For example in your case you'd set "Validate On" to "Successful Results".

I just found out that the validation should be shown to the moderator only (not the registrant). We don't want the registrant to know if their field matches anyone in our database. But we do want the moderator to be able to see. Because if it's not a match, it could be spelling mistake etc. that only a live person will be able to confirm.

If the field is only accessible to moderators then only they will see the validation. Otherwise yes all registered users using the field would see the validation.

Is this possible or something custom I would have to pay you guys to set up?

To have the validation only function or moderators would require custom coding/editing of the CB Query Field plugin it self, which we do not provide here. As for setting up the query to do the validation yes that can be provided as Nick explained above.


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