# Capture value from query string

In this walkthrough you will see how to capture a value from the browser's querystring and store it along the respondent answers in a hidden field.

## 🕵 Hidden answer

![](/files/-MBcd8NE6Ii64-9eqd0q)

1. At the left menu of the **Form designer.**
2. Switch to the **Answers** tab at the top of designer menu.
3. Choose **Hidden** answer.

{% hint style="info" %}
Place the [**hidden field answer**](/form-management/form-designer/answers/answer-types/hidden-field.md) inside of any existing question. It will stay hidden and won't be seen by respondent.
{% endhint %}

## 👔 Capture value from query string

![](/files/-MBd6IUwLTwxwGWzGPqG)

1. Choose **Properties** in the tool bar on the right of the [Hidden](/form-management/form-designer/answers/answer-types/hidden-field.md) answer line
2. Go to the **Pipe source** at the end of the **Default text value** line.
3. Insert **Variable name** at **Querystring variable value**
4. Press **Pipe** to set the settings.

![](/files/-MBdDlP8BxmnCGNCcgiD)

5\. Set the querystring name and value and append it to the [survey deployment link](/form-management/publish-deploy.md)

![](/files/-MBdEEQZM7xSwBxX2bA5)

6\. Once the respondent has submitted his answer you can view the captured value from the [respondents ](/form-management/respondents-management.md)report grid.


---

# 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://docs.ngsurvey.com/walkthroughs/capture-value-from-querystring.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.
