[Barcode Plugin] How can we detect multiple barcode as an error using Barcode Plugin?

Forge Component
Published on 2019-10-18 by OutSystems R&D
25 votes
Published on 2019-10-18 by OutSystems R&D

Hello ,

We have a requirement in our project that,  when a user trying to scan a barcode but scan not completed due to multiple bar codes  Then they can see an error message like “Multiple bar codes detected. Try again".

So how can we achieve this from the Barcode plugins available in forge? As we have to detect that there are  multiple barcodes and there should be consider as error.


Arpita Pancholi

Hello Arpita,

One way to check if multiple barcodes are detected is to check the length of the returned string.