Skip to Content Skip to Menu

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

Issue with Field Conditionals Not Working

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 2 weeks ago #271858 by krileon
Replied by krileon on topic Issue with Field Conditionals Not Working
You would need to uninstall GJ 2.x and delete the _groupjive database tables then install GJ 3.x. It has no migration code yet so it can not migrate from GJ 2.x at this time. As it's a Beta I don't recommend using it in a live environment.


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.

9 years 2 weeks ago - 9 years 2 weeks ago #271863 by tjohns92109
Replied by tjohns92109 on topic Issue with Field Conditionals Not Working
Thanks. I'll do what I can to not use GJ at all for now.

But, I'm still having issues with the field conditionals. I'm convinced it's a bug, but who knows. Last time, it wasn't 'turned on'.

The first conditional I have set is:

Display:field conditional others
Operator:empty
Fields>Hide: I selected all except for the field that has the conditional

There are company and individual fields...

2nd conditional:

Operator>equal to: Individual
show individual fields & hide company fields

3rd conditional:

Operator>equal to: Company
show company fields & hide individual fields

When you load the page, all the company fields are displaying even though the first conditional says to show none if empty.

I've tried switching the field type between radio button and single select. And I've tried switching the operator from 'equal to' to 'does contain'... still won't work.

URL of registration is 8130-3.tjohns.co/cb-registration

Now, even the 'empty' operator isn't working. I'm pretty sure that the 'field conditional others' just doesn't work.

Another note... now it just seems to be showing some individual fields & some company fields.. seems like it is just showing random fields.
Last edit: 9 years 2 weeks ago by tjohns92109.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 2 weeks ago - 9 years 2 weeks ago #271935 by krileon
Replied by krileon on topic Issue with Field Conditionals Not Working
You can not condition the same field multiple times. If you've 3 different conditions showing/hiding Field A then only the last condition applied to it matters. Empty operator is pretty strict and only really functions with fields like text, textarea, or a dropdown select that isn't marked required (will have an empty option).


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.
Last edit: 9 years 2 weeks ago by krileon.
The following user(s) said Thank You: tjohns92109

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

9 years 2 weeks ago #271987 by tjohns92109
Replied by tjohns92109 on topic Issue with Field Conditionals Not Working
Thanks, Kyle. I think the best way to go about it is to use 'field conditional self' on all the fields I want effected. I'll have to set it on 14 fields instead of just one, but 99% sure that worked on a previous project if I remember right.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
9 years 2 weeks ago #272020 by krileon
Replied by krileon on topic Issue with Field Conditionals Not Working
Yup, field conditional self is the best way to go. In fact in a later release conditional others will likely be removed as it's just too unreliable and prone to cause multi-condition issues. AND/OR conditional usage is also planned at some point to allow multi-condition usages.


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: tjohns92109

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

Moderators: beatnantkrileon
Powered by Kunena Forum