Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[SOLVED] CB Field to be Required in Front end but not required in back end

  • adiehm
  • adiehm
  • OFFLINE
  • Posts: 19
  • Thanks: 1
  • Karma: 0
6 years 7 months ago - 6 years 7 months ago #304742 by adiehm
Is there a way to do this.

Example: Two fields in the user profile - Checkbox "Do you own a car" - Text Field "Color of car"

If I make the text field Required and use a conditional show based upon the check box it works as expected in the front end - You tick the check box and the text field is displayed and must be filled in. If you edit the profile in the back end this logic is not applied and the required text field is always shown and the required status is then a problem.

I don't care if the conditional show works in the back end - its the Required option i want to work in the front end but not the back end for the text field
Last edit: 6 years 7 months ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48616
  • Thanks: 8302
  • Karma: 1446
6 years 7 months ago #304757 by krileon
Conditions do not work in backend by default. You can enable this within CB > Plugin Management > CB Conditional > Parameters. However I recommend just disabling field required validation in backend for better management of users fields. You can do this by setting "Fields Validation in User Management" to "No" within CB > Configuration > User Profile.


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

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

  • adiehm
  • adiehm
  • OFFLINE
  • Posts: 19
  • Thanks: 1
  • Karma: 0
6 years 7 months ago #304771 by adiehm
Excellent - Enabling the Condition sin the back end is the solution for me :)
The following user(s) said Thank You: krileon

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

Moderators: beatnantkrileon
Powered by Kunena Forum