Services Plugins FAQs

Barcode Scanner value

Once i use option ‘stop scanner’, no longer i can use scanned value, is there any way that I can us after stopping scanner also?

Hello @israkkhanpathan,

I appreciate your message and thank you for using the Barcode & QR Code Reader Plugin.

By default, when the Stop Scanner is clicked, the scanned result and type are removed from the page. However, there are two options for preserving the scanned value. You can either save it in your database or store it in a custom state. Saving the result in a custom state allows you to display the value even after stopping the scanner.

To demonstrate this, I have provided an example on my test page (accessible at this link).
In the example, the result and type are saved in separate custom states and displayed as a text element on the page. Please refer to the bellow screenshots:




If you have any further inquiries about the plugin or any recommendations for improvement, please don’t hesitate to contact us at support@zeroqode.com or post on the forum.

Wishing you a fantastic weekend ahead.

Best regards, :slight_smile:

1 Like