Thursday, September 12, 2013

List all suggested fields given the label

List all suggested fields given the label

I have a field that has a label like First Name. Now I have a user defined
field that he chooses or types. Once he submits the typed label I want to
give him the list of suggested fields that he can map to.
So If user submitted a field labels: Name, First, Hello would get
suggested field First Name for both Name and First.
I am not asking for code. I just need an algorithm I can follow to do this.
Note: I can not use simple CONTAINS method since there might be two or
three words in user submitted label and I need to match any of those words
to existing fields.
Any mapping algorithms would be appreciated. All I need is name of
algorithm and I'll figure it out myself.

No comments:

Post a Comment