This guide will explain how to prefill form fields by scanning a barcode.
- Initial Setup:
- Drag and drop a “Barcode”, an “API Prefill”, and three “Text” fields onto your form.
- Rename the fields as needed.
- Configuring The “Barcode” Field:
- Click the pencil icon of the “Barcode” field.
- Enable the advanced scanner option.
- Configuring The “API_Prefill” Field:
- Click the pencil icon of the “API_Prefill” field.
- Add the “Local Data Field”.
- Here,
9c2e-9dca-86a3
is the field ID of the “Barcode Scanner” field.
- Map the “Form Field” to the “Date Key” as shown below.
- Save the changes.
- Test Your Form:
- Scan a Barcode.
- It will prefill the form fields with details.
- Here is an example QR Code to scan with the example form.
Example Form.json5.3KB
For any questions, please contact us - [email protected] or the Formyoula in-app chat. 🙂