how can I create a form that checks against my invetory.