Skip to Content Skip to Menu

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

registering value is not selected in modify mode

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277257 by krileon
Reset mode should be used, but what you're probably experiencing is a double condition. One condition is hiding the field, which resets the value, then another is immediately showing it. Review your conditions carefully as a field should not be conditioned more than once (whether it's conditional others, conditional self, or a tab condition). Also ensure you've latest CB Conditional nightly installed.


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.

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #277268 by sacromar
your advice is right, but there is a problem, if I set condition only to the tab and not to the field contained within it, in the search form appears the field even if it should appear only as a result of a choice of another field. How can I do to avoid it keeping active reset mode?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277275 by krileon
You can only condition a field once. It doesn't matter what the condition source is. Whether conditional self, conditional others, or from a tab condition. Review your usage carefully and decide how you want to condition based off this limitation. Tab conditions will typically override any field conditions PHP side.


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.

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #277278 by sacromar
yes, now I condition a field once. I set a condition only on the tab that contains the field, but now the problem is search form (see the attached file)
Attachments:

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

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #277318 by sacromar
Is it possible integrate CB conditional and cb core fields ajax plugin, so if I modify a field from frontend with core fields ajax plugin, reset mode start for conditional fields?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277340 by krileon

yes, now I condition a field once. I set a condition only on the tab that contains the field, but now the problem is search form (see the attached file)

You can only condition a field once. How you condition it knowing this limitation is entirely up to you. If you need field by field conditioning then I recommend applying the conditions to the fields directly instead of the entire tab.

Is it possible integrate CB conditional and cb core fields ajax plugin, so if I modify a field from frontend with core fields ajax plugin, reset mode start for conditional fields?

Nope. I've looked into this for a future release and support for it won't be implemented. It would require a complete rewrite to how CB Conditional bindings work and that's just not going to happen. Ajax usages will take a page reload for the condition to be visible. In addition to this for profile view fields already hidden are completely removed from the fields output so even if a condition made it show it wouldn't exist in the DOM to show.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum