[Solved] Filter on Tab List

2 weeks 1 day ago #319269 by xplay
Filter on Tab List was created by xplay
Dear All,
I would like to visualize in my tab list, just some fields which are populated with the parameter “si”.
At the moment I’m just showing all the results, but it’s not a nice solution to see.

Here as is now :
Restauratore Mobili No
Restauratore Oggetti No
Organizzatore Eventi Si
Esperto No
Liutaio No

Here as i wish :

Organizzatore Eventi Si

I tried several things, but I without success, can anyone help me on this? :lol: :lol:

Thank you in advance!

Please Log in to join the conversation.

2 weeks 1 day ago #319277 by krileon
Replied by krileon on topic Filter on Tab List
I assume those are checkbox fields. So they've a value of 1 for checked and a value of 0 or NULL for unchecked. Use the "Userlist Value Layout" parameter under Parameters > Layout to customize how those fields display on userlists. You can do this by using IF substitutions explained in the below substitution tutorial.


Example as follows would only show the checkbox on userlist if it was checked otherwise it'll have an empty value.

[cb:if FIELD_NAME="1"][value][/cb:if]

Replace FIELD_NAME with the name of your field. Leave the rest as is. Note you may also need to set "Show Empty Fields" to "No" in 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: xplay

Please Log in to join the conversation.

1 week 6 days ago #319301 by xplay
Replied by xplay on topic [Solved] Filter on Tab List
Hi Kyle,

many thanks, following your guide i solved my issue :-)

Thanks again,
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.397 seconds

Facebook Twitter LinkedIn