Solved. The following code will also include vague strings like "Smi" for Smith, Smithy or Smithers in example.
Make sure you paste this into your InputField on your analytic application.
var Input= this.getValue();
var i=0;
var res=Table_1.getDataSource().getMembers("Dimension_Name_");
var filter_data = [""];
var a = 0;
for (i=0;i<res.length; i++)
{
if (res[i].description.startsWith(Input))
{
filter_data[a] = res[i].description;
a++;
}
}
Table_1.getDataSource().setDimensionFilter("Dimension_Name_",filter_data);
Hope this helps others that may run into this