[SOLVED] user search list problem with multicheckbox field

13 years 1 month ago - 13 years 1 month ago #158936 by ciolloservice
Hi, I have a problem with CB search user with multicheckbox field with two options A and B.
I have two lists filtered through multicheckbox options A and B.
If a user set its multicheckbox on A or on B, CB user search works fine, instead if a user set its multicheckbox both on A and B, CB search doesn't works and the user list result empty.
How can I solve this problem?

Thank You

Please Log in to join the conversation.

13 years 1 month ago #158966 by krileon
How is your filter structured? A multi-select fieldtype is stored in the database as "Value1|*|Value2|*|Value3" (without quotes). This means the below would be an acceptable filter.

Basic:
FIELD LIKE %Value1%

Advanced:
`FIELD` LIKE '%Value1%'


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 to join the conversation.

13 years 1 month ago #158979 by ciolloservice
Replied by ciolloservice on topic Re: user search list problem with multicheckbox field
ok thank you, now it works!! :cheer:

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.223 seconds

Facebook Twitter LinkedIn