Hide tab condition

2 weeks 1 day ago #319285 by matthewdavey
Replied by matthewdavey on topic Hide tab condition
I have conditioned the tab to hide when empty. by adding the value statically and it works. I have made a radio button field yes, no that works on other TABS but when I try to add the condition to the tab that already has conditions it doesn't work I can't seem to make a yes show TAB or a no show TAB. What am I doing wrong? see attached
Thanks
Attachments:

Please Log in to join the conversation.

2 weeks 16 hours ago #319292 by krileon
Replied by krileon on topic Hide tab condition
You probably need to be using OR conditions and not AND conditions since any 1 of those conditions should technically hide the tab. You also need to keep in mind you have it configured to hide the tab based off the supplied conditions being met.


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 to join the conversation.

2 weeks 11 hours ago #319298 by matthewdavey
Replied by matthewdavey on topic Hide tab condition
How do I use a OR conditions and not AND conditions?
I don't see any of those in the drop down menu?
Can you please explain the exact procedure please?
Thanks

Please Log in to join the conversation.

1 week 6 days ago #319305 by krileon
Replied by krileon on topic Hide tab condition

How do I use a OR conditions and not AND conditions?

Please review the conditions tab carefully. It directly tells you in the buttons for adding new conditions.




Can you please explain the exact procedure please?

If you need the tab to hide based off conditioning against 3 separate fields then you'd probably have something like the below.




I highly suggest slowing down. Reviewing the information on the page carefully. Take it all in and try to understand the flow of things. CB Conditional is entirely logic driven and straight forward, but it can become complex very quickly depending on your conditions. It works off a series of AND and OR conditions. This is very similar to a PHP IF statement for example. How it behaves on the result of your conditions is entirely controlled by the first Display parameter. Conditions can either show something or hide something so you must always keep that in mind when configuring them as sometimes you need to supply a condition that does the opposite of what the fields purpose is.


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.
Attachments:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.435 seconds