Skip to Content Skip to Menu

[SOLVED] CB Conditional and Core Fields Ajax together

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
9 years 5 months ago - 9 years 5 months ago #278046 by sirweb
When using Core Field Ajax on fields with Conditionals, the conditions do not work, like hiding field B dependent of field A.

Is this just a known fact or is it possible to make them work together?

Thanks.
Last edit: 9 years 5 months ago by krileon.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49437
  • Thanks: 8463
  • Karma: 1465
9 years 5 months ago #278066 by krileon
Replied by krileon on topic CB Conditional and Core Fields Ajax together
The jQuery conditions will not function in profile view when combined with CB Core Fields Ajax. It's just not possible without doing entire reloads of tabs or trying to keep those fields in the DOM as hidden which would require a complete rewrite of profile condition handling. Data it's dependent on and needs to show/hide fields doesn't exist as profile view conditioned fields don't exist on the page at all.

In short there are no plans at this time to make the two work together. Conditions and field ajax really just don't belong together regardless. Core fields ajax is supposed to remove the complexity of profile edit. Combining it with conditions entirely defeats that purpose.


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

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

  • sirweb
  • sirweb
  • OFFLINE
  • Posts: 226
  • Thanks: 25
  • Karma: 2
9 years 5 months ago #278088 by sirweb
Thanks for your answer. :)

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

9 years 5 months ago #278344 by MaartenV87
Is it possible to enable CB Conditional for fields on the user side. And Core Fields Ajax on the admin side for the same fields?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 49437
  • Thanks: 8463
  • Karma: 1465
9 years 5 months ago #278368 by krileon
You can use CB Core Fields Ajax with fields that are conditioned, but it's not going to show fields in profile value that have been hidden by CB Conditional if you adjust a fields value with CB Core Fields Ajax until the page reloads. When CB Conditional removes a profile value display for a field it's completely removed from rendering.


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 5 months ago #278396 by MaartenV87
Nice, thank you. I managed to get this working.

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

Moderators: beatnantkrileon
Powered by Kunena Forum