- Print
- DarkLight
- PDF
How to use a Text Input component to read a Barcode value?
Article Summary
Share feedback
Thanks for sharing your feedback!
A barcode scanner component does not recognize an IR gun. So a text input component can be added to the page to enable users to scan or manually enter barcode values. To ensure that the barcode is complete and not broken, the keyCode variable is used in get variable field.
keyCode Logic:
- If the user adds the barcode with an IR gun, the item ≠ 0 if loop is triggered.
- If the user manually enters the barcode value and clicks enter, the item = 13(enter) loop is triggered and the barcode value is stored.
Was this article helpful?