As the default sharepoint search doesn't support wildcard, I used content editor webpart, and insert a code in the source
the code is available at http://www.ramonscott.com/wordpress/
It added a text field for First Name, last name and a drop down menu for Dept.
I added an extra text field for telephone ext. The problem that i'm facing is it is searching for exactly what i'm entering in the text field (not the wildcard)
e.g if my ext = 298 --> I should enter 298 to get my name in the result, otherwise the result will return nothing.
How can I change the code to return any record that contain 298 (whether it begins with 298, end with 298, or in the middle)
below is the code from Ramon Scott
//function to handle enter on keyboard
if (e.keyCode == 13 || e.keyCode==10)
//escape apostrophes in search strings
View Complete Post