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

TypeqrCodeScanner
Categoryothers
Children allowed0
Styling targetsbspk
EventsonChange

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

SettingHow it is setWhat it doesSpecifics
Scan pause time (in ms)
delayPause
number (integer)Delay in milliseconds before scanning resumes after a successful read. 0 = no pause.
Scan same object
scanSameObject
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 loading
vb_ActivateOnLoad
toggle (boolean)—default: no
Target Bloc
vt_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.