Skip to Content Skip to Menu

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

CB Conditional - Fields appear only at the last value.

11 years 1 month ago - 11 years 1 month ago #233963 by goromiloslav
When you enter display 2 fields on the registration form, subject to selection value fields are displayed only when selecting the last value. Am I doing something wrong? www.skuska1.funfatal.sk/registration/registers.html
Attachments:
Last edit: 11 years 1 month ago by goromiloslav.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233973 by krileon
You are conditioning the same fields multiple times. You can't do that. Only the last condition applied to a field will work.

If you need to condition a field by a field with multiple values then you should edit the field and add a Conditional Self with a REGEX operator and a Value of /Value1|*|Value2/.


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.

11 years 1 month ago #233977 by goromiloslav
I need for each field value (ZAKLADNY, UPLNY, KOMERCNY) assign other fields in the registration form. For example, the value of "ZAKLADNY" display field "Name", "Last Name", "Email" and the value "UPLNY" show field "Name", "Last Name", "Password" and the value "KOMERCNY" show only the "Email".

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
11 years 1 month ago #233982 by krileon
You can't show/hide core fields like name, password, email, etc.. They are all required by Joomla. You also can't use Name and First Name at the same time as CB can only have 1 name format active at any given time. At any rate if you need to condition the same field by multiple values of a field then you need to do as instructed in my previous reply and add the condition to the field directly using conditional self with regex operator.


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