I have an application that gets input from a barcode scanner when a form field is not focused, and drops it in a specified field depending on a handful of condition