Capture data into your forms using your phone camera (and other sources coming soon™️)
Enable in the form details dialog
Click on the floating scan button while on the form to toggle scanner
Enable in field detail on a character field - clicking on the barcode button at the end of the field opens scanner
Form and Field Capture trigger corresponding events for Client Events
The $capture global script object contains data captured on Form or Field Capture events
const barcodes = $capture.barcodes;
if (barcodes.length) {
$current.scan_field = barcodes[0].value;
}
// Structure of the $capture object
$capture = {
// Barcode captures
barcodes: [{
type: "barcode",
symbology: "CODE_128",
value: "Scan Value",
points: {
bottomLeft: {
x: 0,
y: 0
},
bottomRight: { ... },
topLeft: { ... },
topRight: { ... }
}
}],
// All captured data regardless of type
allValues: [...]
}