# Barcode Reader

**URL:** <https://forums.knack.com/t/barcode-reader/12812>\
**Category:** Get Answers\
**Created:** [July 23, 2022, 12:32am UTC](https://forums.knack.com/t/barcode-reader/12812 "2022-07-23T00:32:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kerryn](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@Kerryn](https://forums.knack.com/u/Kerryn)\
**Post date:** [July 23, 2022, 12:32am UTC](https://forums.knack.com/t/barcode-reader/12812/1 "2022-07-23T00:32:52Z")

</div>

Any ideas how I can get a knack field to read barcodes and record the text of the barcode? We currently take a photo of the barcode and then manually fill in a spreadsheet listing the text of the barcode. I am wanting to be able to capture the photo of the barcode (which is easy) and either scan the barcode image or scan the actual barcode and then the text is saved in a separate corresponding field.

Needs to be able to handle different types of barcodes and be easy to use.

Trying a couple of options at the moment but nothing I’m happy with. Just wondering if anyone has solved this. Thanks for reading. 🙂

---

<div class="post-metadata">

**Author:** ![Shrey](https://avatars.discourse-cdn.com/v4/letter/s/b5a626/32.png) [@Shrey](https://forums.knack.com/u/Shrey)\
**Post date:** [July 24, 2022, 3:19am UTC](https://forums.knack.com/t/barcode-reader/12812/2 "2022-07-24T03:19:42Z")

</div>

You can add a Barcode reader in your form and use it to read and set the value for your field.

This library seems capable:

> **[QR and barcode scanner using HTML and Javascript](https://blog.minhazav.dev/QR-and-barcode-scanner-using-html-and-javascript/)**
>
> The little QR code scanning library I have been maintaining since 2015 has been getting more attention recently. And with power came responsibilities, bugs, and feature requests. Some of the key features requested by developers were more reliable...

---

<div class="post-metadata">

**Author:** ![Kerryn](https://avatars.discourse-cdn.com/v4/letter/k/7993a0/32.png) [@Kerryn](https://forums.knack.com/u/Kerryn)\
**Post date:** [July 25, 2022, 2:12am UTC](https://forums.knack.com/t/barcode-reader/12812/3 "2022-07-25T02:12:22Z")

</div>

Thank you for the response. It seems to work well with the barcodes I have.

I don’t have any JAVA knowledge, would I need to hire someone to program this into my Knack App or can the code just be inserted?

---

<div class="post-metadata">

**Author:** ![Ứng\_Dụng](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/%E1%BB%A9ng_d%E1%BB%A5ng/32/4120_2.png) [@Ứng\_Dụng](https://forums.knack.com/u/%E1%BB%A8ng_D%E1%BB%A5ng)\
**Post date:** [June 27, 2024, 1:34pm UTC](https://forums.knack.com/t/barcode-reader/12812/4 "2024-06-27T13:34:59Z")

</div>

You should hire someone

---

<div class="post-metadata">

**Author:** ![CSWinnall](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/cswinnall/32/3631_2.png) [@CSWinnall](https://forums.knack.com/u/CSWinnall)\
**Post date:** [June 27, 2024, 3:29pm UTC](https://forums.knack.com/t/barcode-reader/12812/5 "2024-06-27T15:29:08Z")

</div>

Hi @Kerryn

Take look at KTl and get In Touch with @NormandDefayette_CortexRD he has features for barcodes in KTL and will probably be able to help.

> **[Keywords](https://github.com/cortexrd/Knack-Toolkit-Library/wiki/Keywords#_bcgsize-field-h-format-width-height-style-stylestring-text-statictext)**
>
> Knack Toolkit Library. Contribute to cortexrd/Knack-Toolkit-Library development by creating an account on GitHub.

Craig

---

<div class="post-metadata">

**Author:** ![NormandDefayette\_CortexRD](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/normanddefayette_cortexrd/32/855_2.png) [@NormandDefayette\_CortexRD](https://forums.knack.com/u/NormandDefayette_CortexRD)\
**Post date:** [June 27, 2024, 5:18pm UTC](https://forums.knack.com/t/barcode-reader/12812/6 "2024-06-27T17:18:38Z")

</div>

Hi @Kerryn,

Yes, Craig is right! The KTL does exactly that and supports several barcode types and QR codes also.  
It’s very easy to use and the library is free.

Go see the documentation here and let me know if you have questions.  
[Barcode Generator documentation](https://github.com/cortexrd/Knack-Toolkit-Library/wiki/Keywords#_bcr-field-numchars-numdecimals-prefix-prefixchars-auto-submit-delay)

You can even try a demo page I’ve created for you to see it in action:  
[https://ctrnd.knack.com/ktl-tutorials#ktl-demo-page/](https://ctrnd.knack.com/ktl-tutorials#ktl-demo-page/)

Go in menu **Barcodes** , then **Barcode Reading Automation**.  
Just scan those you see in the page and they will auto-populate the form and submit after 2 seconds. No need to type anything.

Cheers,  
Norm
