You should also make sure that you set up the barcode scanner to include carriage returns after the scan because that will fire the input submit event on the form you're using.
This is correct, and in the mobile app we required the use to click the enter. Reason is that this input field could be filled by either barcorde or the user typing in (as a resort in case the object had no barcode)