[SOLVED] text area with editor searchable field in list

12 years 7 months ago - 12 years 7 months ago #177537 by amir00251
Hello,

I need to make a text area field (with editor) searchable and shown in a list.

I have two option for Multi-Criteria Searches to make this field searchable in a list:

1- To choose All searchable fields in the Searchable fields option when defining the list. I can not do this as I have nearly 20 searchable fields and different combinations needs to be searchable in different lists (not all searchable lists in all lists).

2- The second option is to choose, Searchable fields, displayed ones only.
This is fine but I have a bit problem. Some of these searchable fields are text area and if I want to display these fields I get something like below:




Basically the field occupies most of the width of the list. I'd like to know if there could be a solution to this?

Please Log in to join the conversation.

12 years 7 months ago #177653 by krileon

2- The second option is to choose, Searchable fields, displayed ones only.
This is fine but I have a bit problem. Some of these searchable fields are text area and if I want to display these fields I get something like below:

Seams to be working as expected.

Basically the field occupies most of the width of the list. I'd like to know if there could be a solution to this?

Edit the field in field management and give it a "Max Length:" so they can't spam a large some of content. You could also use CSS to limit the width of the DIV the editor fields content is displayed in. Example of this as follows.
.cbUsersList .cbUserListFC_FIELDNAME {
    display: block;
    max-height: 50px;
    max-width: 300px;
    overflow: hidden;
}

Just replace FIELDNAME with the actual name of your field (e.g. cb_myfield).


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.

12 years 7 months ago #177664 by amir00251
Thank you this worked just right. I have to say support is excellent for CB.
The following user(s) said Thank You: krileon

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.202 seconds

Facebook Twitter LinkedIn