AnsweredAssumed Answered

Find Script to search from word start only

Question asked by AlistairSinclair on May 13, 2011
Latest reply on May 14, 2011 by LaRetta_1


Find Script to search from word start only



I have a textbox using an onModify script trigger, so it searches as you type.

The find is currently searching for the product, but it searches for anything that has the matching characters, I need it to search from the first character onwards.

E.g Type in search box "Bla"

It needs to return the product "Blake Hat Red" but not "Travis Hat Black".

The search is currently:

Enter Find Mode []

Set Field [Products::Name; Products::SearchText]

Perform Find[]

I have seen that it may be possible to use some of the operators == * or "" but I'm not sure how to use them.

Any help would be great thanks.