Scanner button

Hi
If i want to make a mobile version of my site and add a qr scanner button to scan a barcode to an input textbox of a form, is that possible?

Hello,

Check this previous same question about qr code - Here

Thanks but i dont want to create codes. I want to scan codes .
I want the user to scan a code with their cellphones instead of typing the number manually. So i need a button that opens the camera of the user phone.

I’m looking for the same thing. Not what you provided a link to, but for the question martinshn listed below.

Is this possible?

As stated by Mustafa above which does link you to the correct previous forum thread about what you are asking.

You can’t do that in Wix Code as of yet, you will need to use Wix Fetch like Andreas Kviby has stated on his reply and do it with a third party.
http://goqr.me/api/doc/read-qr-code/

Thank you

Wow. Thats what i was looking for.
Can you explain or instruct me how to put a button in my form that opens the camera and when the camera is on a barcode so the number will appear in the form field?

This api works with ean barcodes too or only qr codes?

If you can show me a walkthrou or a sample of such a form it will be very helpful.

Lets say you have a form with a field for item barcode. You scan the item and then on the next field you type your name and save the form to your db.
So in the db you have 2 text fields. 1st is the item number scanned. 2nd is your name typed.

Thanks a lot in advanced.

Hi
I generated the Qr now i want to scan the qr. I need a button to scan the qr.

have you managed to create the QRcode on wix using the QR module if so could you please provide an example of how you have achieved this?

This is the thing I want to be able to do also? I want to be able to access the camera via wix code to enable the ability to scan QRcodes from my wix site, this should be able to be done but needs the Iframe to be able to request the Camera which at present I don’t believe it can due to an issue with Wix Iframes?

Hi martinshn

Yes that is possible now. You can use the html5-qrcode NPM package to code something like that.

After installing the Package you can set it up, so it only recognizes QR / Barcodes.