Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] CB Conditional Plugin Multiple conditions

  • huwhuw
  • huwhuw
  • OFFLINE
  • Posts: 5
  • Thanks: 1
  • Karma: 0
11 years 10 months ago - 11 years 10 months ago #216158 by huwhuw
Hi
I require the following function
A user registers and chooses from a select dropdown
  • Teacher
  • Principal
  • Parent
  • SNA
  • Other

If they select "Teacher" or "Principal"
It should show an additional text box - "Please enter your Teacher number"
However when I do a "Field Conditional Self" on the "Teacher Number" field for tabs 1 and 2 to Equal values "Teacher" and "Principal" to Show It only works when one of the conditions are met.
They work perfectly in isolation but not when the condition tabs are filled.
In other words I cant get multiple conditions to work - it seems like a bug?
Any pointers? Thanks
Last edit: 11 years 10 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 10 months ago #216169 by krileon
Replied by krileon on topic Re: CB Conditional Plugin Multiple conditions
Use an operator of "Is REGEX" then a value of "/Teacher|Principal/" (without quotes). This will let you match either/or or as many as you want (separate with |).


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.
The following user(s) said Thank You: huwhuw, mccormackdave

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

  • huwhuw
  • huwhuw
  • OFFLINE
  • Posts: 5
  • Thanks: 1
  • Karma: 0
11 years 10 months ago #216175 by huwhuw
Fantastic - thanks for the quick response that worked perfect.
The following user(s) said Thank You: krileon

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

11 years 5 months ago #227822 by mccormackdave
Replied by mccormackdave on topic Re: CB Conditional Plugin Multiple conditions
Krileon
Again im so happy with your support on this forum. You make life so easy for me..
The following user(s) said Thank You: krileon

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
11 years 5 months ago #227829 by nant
@mccormackdave and @huwhuw

Thank you for your nice comments - yup Kyle is a star!

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

Moderators: beatnantkrileon
Powered by Kunena Forum