One field is a drop down with a value of either empty, Yes or No
I have 10 users........ 8 are set to Yes and 2 to No
If I try to search and for that field search for "Yes" or "No Preference" then all works as expected.
If I search that field for No I still get the "2 members" text along the top indicating there are two users
BUT the search results below are empty!
This Yes/No field is first on a special tab and all the other fields on that tab are set to CONDITIONALLY HIDE is the user sets that field to = No when registering or editing a profile. But the Yes/No field itself should still show
My hunch is this problem is being caused by the conditional aspect but I can't think why this would stop the search results from showing. I can see it might hide the fields I set the conditions on but the rest should show right?
Is there a way to conditionally hide a tab or something I may have done and forgotten about.... very weird
Have you come across this kind of issue before? Any ideas on what to try?
thanks so much
Jonathan
Last edit: 8 years 3 months ago by krileon. Reason: Added [SOLVED] tag to subject
OK I found the issue is because I had TAB CONDITIONAL enabled for this tab to hide the TAB on PROFILE ONLY if that field was set to NO.
But this must be a bug because:
1) Even If I set the conditional to be disabled on registration, profile edit AND profile view it still caused the user list to fail and not show any results even though at the top of the user search it said 2 results, nothing showed below. So the conditional seems to be enabled on user lists by default with no way to turn it off.
2) Why didn't the user search STILL show the first and last name and other fields in the results that were not on this conditional tab? Why did it hide all results/all fields?
CB Conditional will remove a user from the search results if you can't access that user rows field. So if the field is conditioned away their search row is removed. This is to avoid searching on content no one can see. This is not a bug and working as designed. You can not turn off the userlist "For.." usage for tab conditions without turning off the "Profile View" conditioning. If you need fine grained control you need to use field conditions instead of a tab condition. If you're already using field conditions then ensure "Userlists View" is set to "No" under "For...".
If your dropdown is conditioning its own tab then you've a looping issue. Do not have a field condition its own tab. Instead just condition the fields of that tab with field conditions.
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.