Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] [#6060] CB Conditional Problem

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 6 months ago - 8 years 5 months ago #282882 by AchLive
Hi, I'm using CB Conditional version 4.0.7 plugin for the cascade fields on CB 2.0.14 and Joomla 3.5.1.
I created three fields (Field 1 - Field 2 - Field 3) Field 2 is conditional upon the value of the field 1 while the third field is conditional on the value of the field 2
It works well, but if I change the value of field 1 and I had already filled out the field 3 this is not reset.
In this way you lose the conditional logic that I created.
What's wrong?
Maybe I should use more conditions with 1-2-3-4-5 tab highlighted in the image?

Thanks for the support
Attachments:
Last edit: 8 years 5 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48628
  • Thanks: 8306
  • Karma: 1446
8 years 6 months ago #282889 by krileon
Replied by krileon on topic CB Conditional Problem
You can not condition the same field more than once. There is no AND/OR usage at this time (planned in a later release). So a second condition on the same field will override whatever condition came before it.

Fields values only reset if value resetting has been enabled within CB > Plugin Management > CB Conditional > Parameters. This will cause values to reset and allow conditions to properly chain together.


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.

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 6 months ago - 8 years 6 months ago #282901 by AchLive
Replied by AchLive on topic CB Conditional Problem
Hi, thanks for the reply. It seems that does not work the same.
Field 2 is conditioned to Field 1 while the third field is conditioned to field 2.
If you change the field 1 the value of the field 3 it is not reset.
In CB> Plugin Management> CB Conditional> Parameters reset is active.

I have not conditioned the same field twice, the reset is active but the same does not work well.
How can I fix? Thanks for the support
Attachments:
Last edit: 8 years 6 months ago by AchLive.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48628
  • Thanks: 8306
  • Karma: 1446
8 years 6 months ago #282931 by krileon
Replied by krileon on topic CB Conditional Problem
Works perfectly fine in my tests so i'm unsure what more to advise. Try ensuring you're using "Conditional self" instead of "Conditional others". Self conditioning is more reliable while other conditioning is planned to be removed.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48628
  • Thanks: 8306
  • Karma: 1446
8 years 6 months ago #282936 by krileon
Replied by krileon on topic CB Conditional Problem
Aha, was able to finally reproduce. Have created a bug ticket to fix for new build.

forge.joomlapolis.com/issues/6060


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.

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 6 months ago #282967 by AchLive
Replied by AchLive on topic CB Conditional Problem
Hi krileon , thanks for the reply. I installed the new version plug_cbconditional_4.0.7+build.2016.06.21.23.57.15.55f6e9c3f and now works well.
Another question: I want to know what they are and when the tab 1-2-3-4-5 (first image in this topic) must be used (you can add more conditions to the same field as the AND/OR?).
Thanks for the support

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

Moderators: beatnantkrileon
Powered by Kunena Forum