I know a barcode scanner acts like a keyboard; when the code is scanned it inputs the text in our form. But in order for it to be able to do that the cursor must be placed in the form field.
To accept input data in situations where there is no mouse (relying only on keyboard), we wrote some JavaScript to put the cursor in the concerned field.
Is there any other way to accept text from a barcode scanner when the cursor is not placed in the correct field?