Skip to Content Skip to Menu

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

Make avatar field required if value of another filed (drop down - single select) is selected

  • rani
  • rani
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
8 years 11 months ago #272900 by rani
Hi,

Is there a way either by a built-in mechanism or a script that I can include some where to do the subject?

Thanks,
Rani

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272929 by krileon
Nope, the required state for a field can not be conditioned. You can show/hide it based off the value of another field using CB Conditional, but that's it.


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.

  • rani
  • rani
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
8 years 11 months ago #272931 by rani
is there a code I can use to make this possible? it is very important for me.

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

  • rani
  • rani
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
8 years 11 months ago #272932 by rani
I can see it is possible here and I understated that it is an old version of CB conditional.

www.joomlapolis.com/support/tutorials/107-use-cases/18336-using-cb-conditionals-to-hide-or-show-fields-or-tabs

Where can I download this version?

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

  • rani
  • rani
  • OFFLINE
  • Posts: 16
  • Thanks: 0
  • Karma: 0
8 years 11 months ago #272947 by rani
I have solved my issue. no need to worry.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48466
  • Thanks: 8280
  • Karma: 1443
8 years 11 months ago #272968 by krileon
There's no way to condition a fields required state at this time. At least not until we've refactored our field classes to better allow for this. The way the field classes are structured don't allow for required state conditioning to be very reliable and kept causing too many issues so it was removed from CB Conditional for now. The feature will return in a later release.


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