Understand scanning QR code and bar code to enter input in form fields
In addition to typing an input in any of the above given field's input area, you can enable your users with the following modes of input when they access your form from a phone or tablet:
- Scanning a QR (Quick Response) code
- Scanning a bar code
QR code and bar code are machine-readable codes that are typically used for storing data. Thus if your users have generated a QR code or bar code containing the input they want to enter in any one of the above given fields, they can simply scan it.
Refer to this page to learn how to enable scanning barcodes.
How does this work?When you enable the scanning of a QR code or bar code for a field, below is what your users experience on their phone or tablet:
- The Scan icon is displayed on the right extreme of the field's input area.
- When a user taps on this icon, the code scanner is launched.
- Once a code is scanned, the corresponding input is set in that field's input area.
- Launch the scanner even before your user views your form, so that the user first scans a code to enter input in the concerned field
- Disable manual input of data in the field. In other words, to enter an input in the concerned field, your user will have to scan a bar code or QR code.
- Control which camera (primary and/or secondary) on their device can your user use to scan the code
- Enable your user to upload a code that is stored in their device's photo gallery. For this, your user must:
- Tap the Scan icon. This will launch their device’s code-scanner.
- Tap Image, displayed at the bottom of their screen. This will open their device’s photo gallery.
- Select the required image (of a bar code or QR code) from the gallery. This will take them to the preview screen. Here they can either tap Cancel or Choose.
- Tap Choose to let the selected bar code or QR code be scanned. The scanned data will appear in that field’s input area.
- Enable your user to preview the input (generated on scanning a code), and control the preview duration - either close the preview automatically after a few seconds, or close the preview only when the user decides to.
- Enable form submission immediately after your user scans a code.