Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Search fields

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #277566 by sacromar
Replied by sacromar on topic Search fields
I have checkbox values for user (field1:opt1,opt2,opt3,opt4,... field2:opt1,opt2,opt3,opt4,...) that if selected open a radio field (A,B,C,D,...), so in the search form I need to search, for example, a user with field1: opt1-A AND opt2-B and filed2: opt3-C AND opt4-D

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277587 by krileon
Replied by krileon on topic Search fields
If you need to search on opt1 and opt2 then select opt1 and opt2. If you've a condition on your radio field and you need it to work for search criteria you may need to adjust your condition. For example the below condition usage will work with multi-select usage.

Operator: Is REGEX
Value: /Value_1/
Translate Value: No

It can also match multiple different values as follows.

Operator: Is REGEX
Value: /Value_1|Value_2|Value_3/
Translate Value: 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.

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

  • sacromar
  • sacromar
  • OFFLINE
  • Posts: 38
  • Thanks: 0
  • Karma: 0
8 years 8 months ago #277619 by sacromar
Replied by sacromar on topic Search fields
if I set the condition on Regex cb contitional doesn't work and it appears an error as you can see in the attached file
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #277662 by krileon
Replied by krileon on topic Search fields
My example is with a forward slash. Please read my reply carefully. You must provide valid REGEX. See the below for REGEX usage information.

www.regular-expressions.info/


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum