{#modal id='codeScanner' title='Scan a Barcode'} {#titleIcon}{#icons/barcode /}{/titleIcon}

If using an external barcode scanner, close this and simply set your cursor on the barcode text input. Then scan your barcode, it should place the text in the field.

{/modal}