Skip to main content
Solved

Filters for HTML/Multiline fields


Harm Horstman
Superhero
Forum|alt.badge.img+21

The documentation says that filters are nog supported for HTML/Multiline fields. (See https://docs.thinkwisesoftware.com/docs/sf/subjects_data#filter-conditions)

What is the reason for this? What other options do we have?

Is this on the roadmap?

I assume adding a hidden single line expression field that contains a copy of the HTML data is not the right way?

 

 

Best answer by Harm Horstman

I understand this. 

A ‘contains’ filter would help a lot for now. 

Another option is to add a hidden field that contains the plain text copy of the data in the HTML field.

For the user I like to show the HTML field in de form/card list/grid etc.. And show the plain text field in the Filter form. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

3 replies

Forum|alt.badge.img+1

Harm, this will be possible in some way. For html it is also kinda tricky. We feel we should maybe only support the ‘contains’ filter option. Because all the other ones are fairly impossible. What should ‘starts with’ do? Extract the text from between the html tags? Or should the user go ‘start with’ <html?

Would you need any other filter option than ‘contains’ on a HTML or multine field??

 


Harm Horstman
Superhero
Forum|alt.badge.img+21
  • Author
  • Superhero
  • 495 replies
  • Answer
  • February 7, 2024

I understand this. 

A ‘contains’ filter would help a lot for now. 

Another option is to add a hidden field that contains the plain text copy of the data in the HTML field.

For the user I like to show the HTML field in de form/card list/grid etc.. And show the plain text field in the Filter form. 


Forum|alt.badge.img+1

@Harm Horstman That sound like a fine solution. You can do that without any change in the platform and it might actually be less confusing for a user to have a somewhat normal text control.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings