Skip to Content Skip to Menu

CB Conditional & Update on Ajax

  • galanopd
  • galanopd
  • OFFLINE
  • Posts: 374
  • Thanks: 49
  • Karma: 8
2 years 1 week ago - 2 years 1 week ago #331104 by galanopd
CB Conditional & Update on Ajax was created by galanopd
I am facing an issue with the following and I am not sure if what happens is the expected behaviour.

Field2 in Tab2 has "Update on" related to Field1 in Tab1,
Tab2 is conditionally hidden/shown based on user choice in Field1 like Option1->Tab2 Shown, Option2->Tab2->Hidden
In the case where Filed1=Option2, Registration fails (Sign up doesn't work) and in console shows Tab2 validation error in grey.

So the question here is, since Tab2 is hidden, why "Update on" tries to validate?
 
Last edit: 2 years 1 week ago by galanopd.

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

  • krileon
  • krileon
  • OFFLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
2 years 1 week ago #331110 by krileon
Replied by krileon on topic CB Conditional & Update on Ajax
Update On has no clue CB Conditional exists. They're independent features that do not talk to each other. Regardless CB Conditional should be preventing the validation.

Regarding registration not working is the button not submitting the form or are you getting redirected back with a validation error after the form submits?


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
  • OFFLINE
  • Posts: 48419
  • Thanks: 8274
  • Karma: 1443
2 years 1 week ago #331115 by krileon
Replied by krileon on topic CB Conditional & Update on Ajax
Ok, have released a new CB Conditional and CB Core Fields Ajax so the plugins are aware of each other. Fields marked with Update On will skip their updating if they were conditionally hidden. If they're then later conditionally shown it will immediately trigger an update on to be sure their values are up to date. Client side caching has also been added so duplicate Update On requests will just pull from the cache instead of redoing their HTTP calls.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum