I'm making a website application using php and smarty template. The application will be used to follow the production of an item through different phases. The item is identified with a barcode, so we'll be using a barcode scanner. The app will be running on linux OS, using Firefox.
Here's the thing. I've gotten the barcode scanner to work with no problem. I have a form, a text input field and an onChange event that submits the form. All works great.
But now I need to hide this text input field. The users are not supposed to see it or be able to edit it's value. The barcode scanner acts like a keyboard, so what I really need is some sort of a text input field that will always be focused (users can scan in several barcodes, each of them needs to be checked and submited), allow edits, automatically submit a value and yet not be seen by the user.
Is this possible and if yes, how would I go about achieving this? Any and all ideas/suggestions are welcome.
Sorry if I'm missing something obvious, I haven't been doing this very long. I tried searching Google, but all I get is info on "hidden" input types and no ways to edit them that I could use.
Here's the thing. I've gotten the barcode scanner to work with no problem. I have a form, a text input field and an onChange event that submits the form. All works great.
But now I need to hide this text input field. The users are not supposed to see it or be able to edit it's value. The barcode scanner acts like a keyboard, so what I really need is some sort of a text input field that will always be focused (users can scan in several barcodes, each of them needs to be checked and submited), allow edits, automatically submit a value and yet not be seen by the user.
Is this possible and if yes, how would I go about achieving this? Any and all ideas/suggestions are welcome.
Sorry if I'm missing something obvious, I haven't been doing this very long. I tried searching Google, but all I get is info on "hidden" input types and no ways to edit them that I could use.
Comment