[#2668] CBsubs 1.2.1 | show optional plan based on field

12 years 9 months ago - 12 years 9 months ago #170360 by pepperstreet
Phew, i thought i read and studied a lot... and this would be a minor problem.
I think, the dynamic plan display based on a field value was mentioned in your last newsletter. I remember. it was a feature request by myself... quiet some time ago...

Now I wanted to give it a try – but I can´t get it to work.

As far as I know, I can have a condition for register, and another one for upgrades...

I have multi-checkbox field cb_type with different terms for the usertype. i.e. pupil, student, teacher etc.

I setup the "Conditions on CB Fields to show plan at registration" to check the field if it "contains" one of the terms i.e. student

But I see no effect on register form!? How can I debug or test this setup?

Please Log in to join the conversation.

12 years 9 months ago #170439 by krileon
I was able to confirm your issue. This is due to a fatal error in the CBSubs JS responsible for checking a fields value. I've created a bug ticket to further track and resolve this issue. I apologize for the inconvenience and do not have a quick fix to offer.

#2668


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 to join the conversation.

12 years 9 months ago #170449 by pepperstreet
Replied by pepperstreet on topic Re: CBsubs 1.2.1 | show optional plan based on field
Aarg! ;-) One of my favourite options.
Thanks for checking, I wish I had tested this a little bit earlier. Now, i am running out of time.

Related to my "negative" experiences with CBsubs conditional display, I also tried the Incubator plugin "Conditional" to hide the whole "Subscription" Tab. Thats not my actual goal, but i wanted to test if the Javascript stuff works on that page at all...

I could hide/show different fields, but not the subscription tab?! Maybe this is of interest for you as well.

Please Log in to join the conversation.

12 years 9 months ago - 12 years 9 months ago #170456 by krileon
CB Conditional can't dynamically show/hide tabs currently. Am reviewing making this possible with next release. It's an extremely complicated thing to do and currently just hiding fields is extremely complicated.. a lot of complex jQuery involved and a lot of triple checking PHP so fields don't fail validation when hidden.. it also needs to hide the fields at various locations.. bring tabs into the mix and it adds another layer of complexity. Hoping to have implemented with next release IF it can be done at all.

I apologize that you're running into bugs, but this is simply how software works. Neither project will EVER be bug free; they never are. Standards change, code changes, things happen. It's like PC gaming vs Console gaming.. it's hard on the PC because no 2 PCs are alike, but for Consoles they're all the same. This applies to software too; no 2 hosts and no 2 installs are the same making for A LOT of unpredictability. We're hoping to have a new CBSubs release out shortly (next week?) to address some of the issues being found. Again, I do apologize for the inconvenience and understand how frustrating it can be at times.


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 to join the conversation.

12 years 9 months ago #170473 by pepperstreet
Replied by pepperstreet on topic Re: CBsubs 1.2.1 | show optional plan based on field
No problem, I am patient and I totally understand your thoughts and explanations.

(But there is always an evil client behind the scene, right?!! In general, they always want all for nothing, without any technical background knowledge. I doubt, they will accept any excuses from me... the usual play)

Really looking forward to a new release of this very cool product!

Please Log in to join the conversation.

12 years 9 months ago #170731 by beat
It was not working only for multi-checkbox, radio and multi-select field types, all others worked fine.

Fixed for shortly upcoming CBSubs 1.2.2.

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info
The following user(s) said Thank You: pepperstreet

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.306 seconds

Facebook Twitter LinkedIn