Skip to Content Skip to Menu

add Age, Birth date and Location

  • heavyrisk
  • heavyrisk
  • OFFLINE
  • Posts: 3
  • Thanks: 0
  • Karma: 0
2 years 7 months ago #329055 by heavyrisk
add Age, Birth date and Location was created by heavyrisk
What would be the best way to add a section for users to add their age, birth date and location? Location would be a drop down box to select your state and depending on what state next you would select the cities inside your state.

Thanks
Jason

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
2 years 7 months ago #329073 by krileon
Replied by krileon on topic add Age, Birth date and Location
Age/Birthdate would just be a Date field. It has built in functionality for displaying the selected date as age.

For location it can be complicated. We don't have a country/state/city database table built in. All our examples, including the one in CB Quickstart and on our demo site, use the databases provided by CBSubs. The below tutorial shows an example of how you can do this using an external database with a Query Select field provided by CB Query Field and the Update On functionality in CB Core Fields Ajax.

www.joomlapolis.com/documentation/345-cb-query-field/tutorials/18533-configuring-dynamic-usa-state-city-zip-fields-with-cb-query-field-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