# Scan a QR code or barcode in a form

Last updated: 2026-11-23

> Fill in a code field with your phone's camera, or type the code by hand when a card or label won't scan.

Some forms ask for a code printed on a card, tag or label, as a QR code or a barcode. Tap **Scan** to read it with your phone's camera, or type it in. Not every app has these fields: they show only where your app asks for a code.

## Scan the code

1. In the form, tap **Scan** at the right of the code field.
2. If your phone asks to use the camera, allow it.
3. Hold the code inside the frame. When the app reads it, the code fills the field.
4. Check the code, then save or submit the form as usual.

![A form's Site tag field: an empty box showing an example code, and the Scan button on its right](https://restorationscope.com/docs/figures/en/scan-code-field.png)

## When a code won't scan

If the camera can't read the code, for example because the card is wet, faded or damaged:

1. Tap **Type the code instead** at the bottom of the camera view.
2. Type the code as it's printed on the card or label.

![The camera view: a frame with Hold the code inside the frame under it, and the Type the code instead button at the bottom](https://restorationscope.com/docs/figures/en/scan-code-camera.png)

If the camera says "This code is not the one asked for." or "This is not a code like" followed by an example, check that you're scanning the right card. If it's the right one, type the code instead and tell us, so we can fix the field for your team.

If the phone can't scan, the field says "This phone can’t scan here. Type the code instead." Tap the field and type the code.

A typed code that doesn't look like the example shows a note under the field ending in "It will be saved as typed." Check it, then carry on: the code is saved as you typed it.

For the rest of the form, see [Fill in and submit a form](https://restorationscope.com/docs/fill-in-a-form).
