0

Hi, As I know the barcode scanner is just like a keyboard. I want the barcode scanner scan the user ID before it enter to the system. May I know how to hide the textbox field but still able to handle the input from barcode scanner?

4
Contributors
4
Replies
8
Views
5 Years
Discussion Span
Last Post by pritaeas
0

Hi, As I know the barcode scanner is just like a keyboard. I want the barcode scanner scan the user ID before it enter to the system. May I know how to hide the textbox field but still able to handle the input from barcode scanner?

Use IDs: <input id="hide>

in your CSS file, #hide { diplay: none;}

or more simply, <input style="display: none;" />

THis will simply not display the input but will still "load" it...

2

Or you can use this HTML code as well

<input type="hidden" value="" />

I think that is the same as using CSS to hide it.

If this solves your problem, then mark the thread as solved and don't let it be pending.

0

You could let Javascript trap the input, and enter it in your hidden input.

Edited by pritaeas

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.