We are working on an internal inventory system. When a user orders and item from a vendor and puts in the order information, I want the users input of brand, model, SKU, etc to be free form input, then when submitted, it compares all of those values to items already in the inventory database. First it would compare the SKU if found then its a direct match. If not, then it moves on to comparing model and brand and asks the user to confirm they are the same item.
Does anyone have any ideas on best methods for accomplishing this? I cant even think of what this would be called to google it.
Code examples / resources would be appreciated!
Assume your form field is named “orderInfo”, and has the value “12345 Acme Gadget” (where 12345 is a valid SKU)