Skip to Content Skip to Menu

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

[#6093] CB Conditional 3 or more fields

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 3 months ago #283494 by AchLive
Replied by AchLive on topic CB Conditional 3 or more fields
I upgraded to the latest version Conditional CB (plug_cbconditional_4.0.7+build.2016.07.06.03.13.58.c8e1354cc).
I noticed that the reset of the database fields reported in this link forge.joomlapolis.com/issues/6084 seems to work after saving the profile while should act before saving your profile such as may act CB AutoAction onBeforeUserProfileSaveRequest. Although now it clears the fields for me still remains the problem of signaling required fields that instead the problem disappears if I act CB AutoAction onBeforeUserProfileSaveRequest
Thank you

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago - 8 years 3 months ago #283498 by krileon
Replied by krileon on topic CB Conditional 3 or more fields
No, it's working exactly as intended. It will reset via the jQuery and on save only.

A field erroring that it is required when it has been hidden has nothing to do with the reset functionality and is likely the result of a double condition. You can not condition the same field twice. The conditions will conflict. In PHP likely what is happening is the second condition is toggling the field displayed again resulting in the required condition triggering. Please review your conditions carefully.


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: 8 years 3 months ago by krileon.

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

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 3 months ago #283503 by AchLive
Replied by AchLive on topic CB Conditional 3 or more fields
I will not insist, but I would advise you to try to create the scenario I mentioned www.joomlapolis.com/forum/153-professional-member-support/234100-cb-conditional-3-or-more-fields?limitstart=0#283391

Set three all required fields. CampoB conditioned to CampoA and CampoC conditioned to CampoB.

First time you save all three fields are filled, and works well. Then try changing profile while CB Conditional displays only the first (Field A), the view is correct but can not be saved because it produces error of field B and C because it required but are not visible. After upgrading the latest version of CB Conditional it changed that if I try to still be saved the error disappears and the profile is updated properly.
This may be the reason my idea that he needs to try to save to reset the fields.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283522 by krileon
Replied by krileon on topic CB Conditional 3 or more fields
I have configured your usage. Our demosite has a 4 field chain to demo CB Conditional. I've made 2-4 marked required. It works perfectly fine. You can try this you self as well if you like by visiting our demosite below, filter field management to CB Conditional tab, then mark fields 2-4 using the batch tools as required then on frontend try it out. Next demosite refresh will have latest CB Conditional and the conditioned fields marked required by default (it is also working fine on our reference site).

You have a condition conflict or you've something else affecting how fields load.


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

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

  • AchLive
  • AchLive
  • OFFLINE
  • Posts: 253
  • Thanks: 14
  • Karma: 3
8 years 3 months ago #283545 by AchLive
Replied by AchLive on topic CB Conditional 3 or more fields
On your demo site is exactly the same mistake that I reported.
It requires you to fill out required field (hidden by CB Conditional) if it is not visible.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 3 months ago #283562 by krileon
Replied by krileon on topic CB Conditional 3 or more fields
I have no idea how you're possibly triggering that. It is working perfectly fine here. My CB Conditional configuration changes have been updated to the demosite where they're marked required and is working fine.

Please describe your exact steps step by step to cause your issue on the demosite.


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