Use AJAX to a field in registration form

13 years 9 months ago #137824 by beck2ham
Hello guys..!!!

I am using CB 1.2.2 version. I want to implement AJAx similar to one that is available to check the username field in the registration form.

I have created a new field using the "Field Management" option. The field name is 'Phone Number'.

Now if a new user registers at my website, and enters a phone number which already exists in the database, I want to warn the user regarding the same using AJAX.

Can you please help me with this?

Please Log in to join the conversation.

13 years 9 months ago #137898 by krileon
Replied by krileon on topic Re:Use AJAX to a field in registration form
Only username and email provide ajax checking, you'd need to make a new fieldtype plugin in order to provide such ajax checking. I recommend reviewing document subscriber ajax text and file fields for examples of fieldtype plugins.


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.

13 years 9 months ago #138043 by KatoKalin
Replied by KatoKalin on topic Re:Use AJAX to a field in registration form
I hope in CB 2.0 there will be a new field type which can compare any values (from database) utilizing this Ajax function by default without the need to create a plugin.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.195 seconds

Facebook Twitter LinkedIn