I have created a stock system for a customer. I have now added barcoded labels for the stock. So now we need a simple stock taking system. I have a barcode reader that takes the scanned barcode and enters the code into a field in the form followed by an “enter” key. You can also type in a bar code and press enter.
What I want to do is take the scanned barcode, or typed-in entry + enter key, and add the code to a list. The entries will be added to a table. But, I want the operation to be automatic so the user can scan as many items as required one after the other. It’s a bit like a supermarket checkout. A “process” button then processes the list of scanned codes with some SQL/PHP.
How do I create a form that works like this?