Skip to Content Skip to Menu

[SOLVED] Auto populated Drop Down Field

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
13 years 7 months ago #160834 by krileon
Replied by krileon on topic Re: Auto populated Drop Down Field

a) it didn't seem to work in conjunction with CB Profile Pro

Untested with profile pro, we don't support anything beyond our own profile render. Profile pro has been found to cause numerous issues primarily regarding registration.

b) even just using CB, it only showed the second drop down, once the first one was saved and the page was refreshed.

This would mean you've a fatal JS error present preventing cb conditionals JS from working. Review your browser error log for further details on the error.

It never crossed my mind to use the CB Conditional plugin in this manner. It is a bit more leg work, but ... it does the trick without me needing to script it in PHP.

Glad to see CB Conditional could be of help! I'm looking into somehow in the future allowing it to show/hide multi-select options, but at this point I've no idea how I'm going to go about that. It certainly can be done with the jQuery used, but massive additions/testing needed. At any rate more is to come with later releases!


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.

  • clickmo
  • clickmo
  • OFFLINE
  • Posts: 55
  • Thanks: 1
  • Karma: 1
13 years 7 months ago #160852 by clickmo
Replied by clickmo on topic Re: Auto populated Drop Down Field
Here's a question for you krileon.

Is it possible to add multiple values in the TO Value field of the CB Conditional? Like let's say I want it to be true for more than one possibility?

Example: Infantry and Aerospace may share a subcategory. Instead of re-creating something for both, create it once and show it in case either one of those get selected.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
13 years 7 months ago - 13 years 7 months ago #160905 by krileon
Replied by krileon on topic Re: Auto populated Drop Down Field

Is it possible to add multiple values in the TO Value field of the CB Conditional? Like let's say I want it to be true for more than one possibility?

Yes, you'll need to use REGEX validation in this case. Please try the below example.

/Value1|Value2/

What the above translates to is use / for the delimiter then try and match value 1 OR value 2.


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

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

Moderators: beatnantkrileon
Powered by Kunena Forum