HI Bubblers
So, I have a search box that is used in an input form to help eliminate duplication.
-
When the user enters the first few letters of the string, if the first couple of characters in the string exists it will show the current saved string records that begin with those characters. This works great and the user can select the existing string and it is saved when the form is submitted.
-
If the first couple of characters in the string do NOT exists, the user can also choose to add a new string in the same field and save the form and the new string will be added in the search table along with the existing records.
-
The workflow logic is such that if the user enters a string which exists it saves the rest of the form but does not create an additional record in the ‘search box’ table so this is all working as expected.
-
However, if I enter an existing string with different case it will create a new search box record, and I do not want this - the search box appears to be case sensitive by default.
-
So what I am looking for a is a solution to identify the same string in a different letter case if it already exists in the search box record so it does not create an identical string with different case.
For example;
-
If I have a record = NORTH
-
I start typing the word and it pops up along with NORTH WEST - because they begin with NO
-
But, I can also type “north” and even though it brings up the same options I can choose to type it “nORTH” and the issue is generally happening because of user keyboard error.
-
So I want the workflow to be able to recognise that “nORTH” is the same as “NORTH” and not create the new search box record: “nORTH”.
-
Clearly the issue is that it could also be typed: “north”, North" etc… but I need it to recoginse that “NORTH” is the same word and already exists so it does not save a new record just uses the existing “NORTH”
It could happen in the workflow on submit, but not sure how you would do this given its a random anything I am looking for?
Any pointers would be great?
Thanks in advance!