I would like to add barcode or QR code scanning functionality to the form view

I would like to add barcode or QR code scanning functionality to the form view

Scenario: The user can quickly collect bar code or two-dimensional code data through the camera of the mobile phone, which can be used for scanning code inspection or scanning code registration.

At this point in the form view, you can’t customize buttons, you can’t add custom JavaScript.

Hopefully, the next version will consider these requirements.

Thanks hunteworf for your suggestion! Welcome to NocoDB!

  • Why do you want to scan barcode in form? to pre-fill certain fields in the form?
  • Customise buttons : what would you like to do here? can you give us an example?
  • Custom JS : to carry out some post processing after the form is submitted?
  • Why do you want to scan barcode in form? to pre-fill certain fields in the form?
    Yes, for example: material number, purchase order number, person number, item number, asset number, etc

  • Customise buttons : what would you like to do here? can you give us an example?
    We want to be able to add custom buttons, which we can customize with their names and events. In this way, JS scripts can be called through events to enrich the functions and scenarios of form purchase data

  • Custom JS : to carry out some post processing after the form is submitted?

For example, after clicking the button, the button event calls JS, and after scanning the code through the mobile phone camera, the bar code or two-dimensional code data is collected to the text box or submitted to the background.

example:

h ttps://blogs.sap.com/2019/01/16/sapui5-multi-barcode-scanner-app/

GitHub - zxing-js/library: Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.
ZXing TypeScript | Decoding from camera stream (zxing-js.github.io)

Created a FR here 🔦 Feature: Scan QR/Barcode to pre-fill certain fields in form · Issue #6777 · nocodb/nocodb · GitHub