We have two joomla user groups and one query field that is used only by the one user group.
When we use the cb user list search, the query shows for both joomla user groups and that is what we want to avoid.
example:
1. users of user group 1 need to fill the query field on registration. This is ok!
2. users of user group 2 do not fill this query field. As a matter of fact this is hidden for them with conditionals.
The problem now with the cb users list is that the query field shows on searches for both and the search results are not correct because other users use this field for both joomla user groups.
Is there a way to hide a field in cb list search when it is empty? (not filled by the user)
it is a Query field - single select.
Thank you in advance.
Last edit: 5 years 1 month ago by krileon. Reason: Added [SOLVED] tag to subject
If you want the field also conditioned for userlist searches be sure to expand the Locations fieldset in your condition and set "Userlists Search" to "Yes". As far as hiding empty fields on your userlist you'll need to enable the hide empty fields parameter within CB > Configuration > User Profile by setting "Show Empty Fields" to "No".
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.