How to use a Text Input component to read a Barcode value?
  • 30 Jan 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

How to use a Text Input component to read a Barcode value?

  • Dark
    Light
  • PDF

Article Summary

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.

GetKeyCode



Was this article helpful?

What's Next
ESC

Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses