Skip to Content Skip to Menu

Select list conditional on other fields

  • pipermac
  • pipermac
  • OFFLINE
  • Posts: 70
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #252955 by pipermac
Select list conditional on other fields was created by pipermac
Is there away to limit the choices in a select list based on value of another field?

I want to have a select list depending on what the birth date is. If they were born in 2000 the list displays one list and if they were born in another year the list is different.

thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #252973 by krileon
Replied by krileon on topic Select list conditional on other fields
You could use CB Conditional to show/hide a different field entirely based off a value, but I'm unsure how well that's going to work with a date field.


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.

  • pipermac
  • pipermac
  • OFFLINE
  • Posts: 70
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #252979 by pipermac
Replied by pipermac on topic Select list conditional on other fields
that doesn't help as it would require multiple fields. I need to the data to be stored in the same field

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253032 by krileon
Replied by krileon on topic Select list conditional on other fields
CB Conditional has a show/hide feature for select list options, but pretty sure it's bugged right now and will be fixed in its upgrade release for CB 2.0. That's basically your only options unless you want to use CB Query Field and its Query Select field to build its options from database, but that'll require a page reload before it'll update the options to reflect the users change.


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.

  • pipermac
  • pipermac
  • OFFLINE
  • Posts: 70
  • Thanks: 1
  • Karma: 0
9 years 11 months ago #253052 by pipermac
Replied by pipermac on topic Select list conditional on other fields
Thanks.....yes I found that and from what i can tell it is definitely bugged! If I set only one condition it will but if I ad a second condition the first one doesn't work and only the second one does!

Is there a timeline for the next release that would have this fix? It would really be nice if we can have this in place before we go live in 10 days!

thanks

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48499
  • Thanks: 8284
  • Karma: 1443
9 years 11 months ago #253117 by krileon
Replied by krileon on topic Select list conditional on other fields

Thanks.....yes I found that and from what i can tell it is definitely bugged! If I set only one condition it will but if I ad a second condition the first one doesn't work and only the second one does!

That's not a bug, but intentional. Only the last conditional applied will function. There is no AND/OR usage yet. You can try setting your conditionals to 1 way usage so they won't automatically do their opposite function when the condition fails to match (e.g. if it's set to show options it won't hide them if condition fails).

Is there a timeline for the next release that would have this fix? It would really be nice if we can have this in place before we go live in 10 days!

Nope, when it's done. I'll be starting the CB Conditional upgrade today, but it's unlikely to help your usecase as AND/OR usage still won't be added yet. Very unlikely to be done in next 10 days. Thanksgiving is also next week so will be off/on during it.


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