# Scan barcode and QR code directly in Glide into a field in a form

**URL:** <https://community.glideapps.com/t/scan-barcode-and-qr-code-directly-in-glide-into-a-field-in-a-form/1132>\
**Category:** Feature Requests\
**Created:** [October 13, 2019, 12:32pm UTC](https://community.glideapps.com/t/scan-barcode-and-qr-code-directly-in-glide-into-a-field-in-a-form/1132 "2019-10-13T12:32:35Z")\
**Posts on this page:** 1\
**Showing post:** 24

<div class="post-metadata">

**Author:** ![Zhijing\_Eu](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/zhijing_eu/32/8030_2.png) [@Zhijing\_Eu](https://community.glideapps.com/u/Zhijing_Eu)\
**Post date:** [May 27, 2020, 4:21am UTC](https://community.glideapps.com/t/scan-barcode-and-qr-code-directly-in-glide-into-a-field-in-a-form/1132/24 "2020-05-27T04:21:40Z")

</div>

Hi everyone - I cobbled together a solution to allow users to scan QR Codes in Glide.

It works by using Image Picker in the Layout which then creates a URL of an image hosted by GlideApps that is input into Google Sheets. I then wrote a script in Google Sheets that takes the URL and runs it through an API that decodes QR images and then I used a REGEX in the script to pull out the relevant info I am looking for and output it into the relevant columns.

I did a short write up : [https://www.linkedin.com/pulse/building-basic-access-records-tracker-contact-tracing-eu-zhijing](https://www.linkedin.com/pulse/building-basic-access-records-tracker-contact-tracing-eu-zhijing) and a video description for those of you who prefer to watch vs read : [https://www.youtube.com/watch?v=tt6isGMkagw](https://www.youtube.com/watch?v=tt6isGMkagw)

Admittedly it is a bit ugly and inefficient - I have not tested whether it will scale but it sort of works for now. Hopefully, Glide introduces a native component to directly input QR Codes soon.

---

_[View the full topic](https://community.glideapps.com/t/scan-barcode-and-qr-code-directly-in-glide-into-a-field-in-a-form/1132)._
