formBarcodeScannerInput

Defines the desired user interface is a barcode or QR code scanner. If the client does not support barcode scanning, a single-line text box should be used.

Referenced by: formFieldElement

Properties

Property Details
maxLength This represents the maximum number of characters allowed. This only applies for string fields. If not supplied, the value is derived from the length property of the referenced field in the service.
minLength This represents the minimum number of characters allowed. This only applies for string fields. If not supplied, the value is 0, meaning there is no minimum constraint.
type The input type identifier.
Valid value of this property barcode-scanner

Example

{
  "type": "barcode-scanner",
  "maxLength": 100,
  "minLength": 0
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.