# QR Code

The QR Code field allows you to scan QR codes using your integrated camera. The data stored is simply whatever is the value of the QR code.&#x20;

{% hint style="success" %}
**Hint:** This can be useful to use in conjunction with our [Populate another field with part of this field](/blocworx-documentation/bloc-editor/managing-a-field/field-rules/populate-another-local-field-with-part-of-this-field.md) rule for extracting data from the result of the QR code.
{% endhint %}

{% hint style="info" %}
Please note, for this field to work you must allow Blocworx to use your camera, when you first click the button to trigger the camera pop up you should see a browser pop up on your screen. It will vary from browser to browser but it should look like the following image. You should only have to do this once unless you reset the settings on your browser.
{% endhint %}

![](/files/b8sqNVhAuVImGfBctOnO)

### How does it work?

Once you have added the field, a button will appear in your form. Whether you are on laptop device, tablet or mobile, once you click the button it will open a camera view area. From here you will be able to hover your device over a QR code. Blocworx will automatically detect the QR code on your screen and instantly populate the field with that value.

### Initial Field Parameters

| Parameter           | Description                                                                                                                                                   |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| QR Code Button Text | This is the text that will appear on the button in your form. Once this button is clicked a pop up will appear that will show you what your camera is seeing. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://manual.blocworx.com/blocworx-documentation/bloc-editor/fields-tools-and-charts/input-fields/qr-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
