Hi,
the best way it to check the input against an array of value.
var aList = ['Y78DC','4568','PEN_V7','PNX_45','DC567'],
cInput = txtSupplierID.rawVaue,
bMatch = aList.some(function (cValue) {return cValue == cInput;});
this.presence = bMatch ? "visible" : "hidden";