Skip to Content Skip to Menu

db lookup and autocomplete

  • megabrain
  • megabrain
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #239729 by megabrain
db lookup and autocomplete was created by megabrain
I am building a site in which one of the profile entries is the school attended (additional entries for graduate and postgraduate schools). I want to have a database of all accredited colleges and universities. When the user begins to enter the first few letters of their school, a window would popup with all of the suggested schools, the user then selects the appropriate school to populate the field. Similar to Facebook. Can this be done with CB? Is there any Joomla add-on that can be suggested to accomplish this task?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239765 by krileon
Replied by krileon on topic db lookup and autocomplete
CB has no such fieldtype. You'd need to develop such a plugin. It ideally would send an ajax call to the fields ajax response handler when the field value changes then using the value in the ajax response handler query for a list of matching items. Once the ajax completes and sends its response back you'd handle the display somehow.


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.

  • megabrain
  • megabrain
  • OFFLINE
  • Posts: 10
  • Thanks: 0
  • Karma: 0
10 years 9 months ago #239787 by megabrain
Replied by megabrain on topic db lookup and autocomplete
OK. I'm not a code writer, so your suggestion is not viable in my case. I'm surprised that the autosuggest/select/complete feature is not readily available as a plugin from Joomlapolis or some 3rd party. You obviously know how to do it. I did find a reference to such a feature at jqueryui.com/autocomplete (demo, not release). It's a common feature on many, if not all, mainstream social networking websites. You may wish to consider such a feature in CB2. I look forward to its' release. Hopefully soon. Thanks.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 9 months ago #239824 by krileon
Replied by krileon on topic db lookup and autocomplete
We've no plans at this time to implement that for CB 2.0, but maybe for a later release or as a new plugin.


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