QR code scanner
The QR and barcode reader. It opens the camera and writes the decoded value into another block's field on the page. It is the fastest way to fill in a reference without typing it.
What it is
| Type | qrCodeScanner |
| Category | others |
| Children allowed | 0 |
| Styling targets | bspk |
| Events | onChange |
The settings
Only the settings specific to this block are listed here. The block name, HTML id, anchor, conditional display and repetition are shared by every block and described once, under Shared settings.
Parameters
| Setting | How it is set | What it does | Specifics |
|---|---|---|---|
Scan pause time (in ms)delayPause | number (integer) | Delay in milliseconds before scanning resumes after a successful read. 0 = no pause. | |
Scan same objectscanSameObject | toggle (boolean) | Allows the same code to be read again. Unchecked, a code already present in the target field is ignored. | default: no |
Enable QR code scanning when loadingvb_ActivateOnLoad | toggle (boolean) | — | default: no |
Target Blocvt_TargetBlockUuid | select (text) | Input field that will receive the scanned code. Only blocks holding a text value are offered. |
Traps
One scanner at a time. Starting a second reader on the same page stops the first. And by default, scanning the same code twice does nothing the second time — which looks like a jammed reader.
The tables on this page are produced automatically from the block's schema. If this page and the panel disagree, the schema is right.

