picqer / php-barcode-generator

Barcode generator in PHP that is easy to use, non-bloated and framework independent.
GNU Lesser General Public License v3.0
1.66k stars 400 forks source link

Page autosubmit after scan QR code #192

Closed TheIndianCoder closed 6 months ago

TheIndianCoder commented 6 months ago

I scan QR code on my input field , after scanning completed my form page are autosubmit, i want to prevent from autosubmit why ?

haivala commented 6 months ago

Your scanner adds the submit after the code scan

casperbakker commented 6 months ago

This package does not support QR codes, but maybe you mean a barcode.

@haivala is right, the submit comes from a "return" signal that the hardware barcode scanner gives after the scan. In most cases it can be programmed if a return, tab or nothing is sent after the contents of the barcode itself.

Please check the documentation of the hardware scanner.