Skip to Content Skip to Menu

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

condition 3 fields off another field

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
8 years 11 months ago - 8 years 11 months ago #274189 by jpdenny1
condition 3 fields off another field was created by jpdenny1
Hello Cb, sorry to have to ask, this seems simple but I can't get it to behave as desired.

CB Conditionals -> resetting enabled.

Fields all in same tab. Don't show on registration.

Field Z -> radio select,options = One, Two, Three

Subsequent fields:

FIELDS A, B, C -> single select drop-downs.

Field A -> shows when field z is EMPTY - this is fine. (A)

Field B -> should only show if TWO is selected. (A, B,)

Field C -> should only show if THREE is selected - this is fine. (Shows A, B,C)


1. To condition off field z can I use either 'empty' or 'equal to' - "blank" for a radio group, field condition other (tried both)
2. Field C seems easy - I can set, field condition self, if field z not equal to three then hide.
3. Field B seems to be the problem as it always shows up when field z is empty (only want field A showing when it's empty).

Other than 3. directly above it works perfectly ie. Select One - field A only shows, Select Two fields A & B show...

Been messing around with it now well over half a day in total. Have gone full circle maybe three times now with all logical combinations + using self and other z-c and started out by watching the you tube vid.

Have any ideas to take me out of my misery!? :unsure:

Kind regards

EDIT
Current settings:
Field Z: condition- hide various usergroups
Field A: condition - hide various usergroups
Field B: condition - hide various usergroups & (self) if Z equal to One then hide
Field C: condition - hide various usergroups & (self) if Z not equal to Three then hide

Tried hiding B when no selection on Z, through Z and B itself. Other and Self respectiviely.

Edit 2: Something else I found is that Field B turns up on usergroups in which I have set for it to hide.

The last condition is valid Kyle mentioned before, but this contradicts the way Field C works fine with 2 conditions. Confused.

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9
Last edit: 8 years 11 months ago by jpdenny1.

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

  • jpdenny1
  • jpdenny1
  • OFFLINE
  • Posts: 195
  • Thanks: 25
  • Karma: 5
8 years 11 months ago #274206 by jpdenny1
Replied by jpdenny1 on topic condition 3 fields off another field
Update: I unpublished all conditions except the usergroup visibility for the fields in question.

Result: The fields fully obey the usergroup condition.

Conclusion: Fields Z - C have a usergroup condition first, so they only follow the last condition on that field. I can't have both a usergroup condition and a subsequent 'if field' condition for the same field.

So this won't work for me no matter what I do and explains the merry go round...

Joomla 3.6.2
CB 2.0.15 Latest Nightly
GJ 3.0.1 nightly
Php version 5.5.35
Auto actions nightly
Activity nightly
Privacy nightly
Conditions nightly
CB Gallery 2.0
.....all nightly!
Uddeim 3.9

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 11 months ago #274216 by nant
Replied by nant on topic condition 3 fields off another field

jpdenny1 wrote: Update: I unpublished all conditions except the usergroup visibility for the fields in question.

Result: The fields fully obey the usergroup condition.

Conclusion: Fields Z - C have a usergroup condition first, so they only follow the last condition on that field. I can't have both a usergroup condition and a subsequent 'if field' condition for the same field.

So this won't work for me no matter what I do and explains the merry go round...


That is correct. The last condition takes place.
There are no AND or ORs functionality in CB COnditions.
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum