Skip to Content Skip to Menu

[SOLVED] CB Conditional and Multi Select Checkboxes

  • rokkmedia
  • rokkmedia
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
11 years 7 months ago - 11 years 7 months ago #211756 by rokkmedia
Hi

I am using CB conditional to display tabs based on a multiselect check box field. My options are
- Car
- House
- Boat

If I use 'Is REGEX' and '/Car|Boat/' I am able to display a specific tab in a profile whether Car or Boat or Car & Boat are selected.

However this does not work on my registration form or when you are editing your profile.

I think the issue seems to surround the multiselect check box and in particular, when using an 'or' type selector.

Does anyone know how this issue can be resolved or worked around?

Joomla:2.5.6
CB:1.8.1
CB Conditional:1.8.0

Many thanks in advance.
Last edit: 11 years 7 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 68625
  • Thanks: 9109
  • Karma: 1434
11 years 7 months ago #211808 by krileon
With multi-selects you want to use the Contains operators, but if you need to match for multiple values you'll need to use REGEX as you're already doing. It's likely the reason it's not working could be due to a bug as you're 10 bug fix releases out of date.

CB Conditional:1.8.0

You've quite a few version out of date, please upgrade. Latest is 1.8.10 and 1.8.11 should be released today or tomorrow.


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.

  • rokkmedia
  • rokkmedia
  • OFFLINE
  • Posts: 22
  • Thanks: 0
  • Karma: 0
11 years 7 months ago #211844 by rokkmedia
Replied by rokkmedia on topic Re: CB Conditional and Multi Select Checkboxes
Awesome krileon! the upgrade worked :woohoo:

Thanks for your help

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

Moderators: beatnantkrileon
Powered by Kunena Forum

Facebook Twitter LinkedIn