Jump to content

Case insensitive search


Moe
 Share

This topic is 5765 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm using XSLT to search a field named 'email' that contains email addresses, and I want it to be a case insensitive search. I've already set up the field to convert all letters to lowercase.

I could use javascript to convert the field input to lowercase on submission, but I'd like to avoid using javascript.

Anyone have any ideas?

Thanks.

Link to comment
Share on other sites

I assume the field is indexed as Unicode.

It could go along the following line:

- pass the field input as token instead as a search field, and do some dummy action with form

- on the next page, read out the token in the request-query parameter and store it in a variable search

- translate the variable with

- do now a search with the XSLT document() function

Link to comment
Share on other sites

This topic is 5765 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.