> For the complete documentation index, see [llms.txt](https://docs.ngsurvey.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ngsurvey.com/form-management/form-designer/answers.md).

# Answers

## 📝️️ What are answers ?

Answers are the key parts of your [questions](/form-management/form-designer/questions.md) to collect the information you need from your [respondents](/form-management/respondents-management.md).

An answer can be defined as a small module called [answer type](/form-management/form-designer/answers/answer-types.md) which provides a unique functionality that can be used to build your [questions](/form-management/form-designer/questions.md). ngSurvey provides out of the box a number of [answers types](/form-management/form-designer/answers/answer-types.md) that you can use in your questions like for example calendars, radio buttons, signature pads, entry fields, list of items.&#x20;

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBwgQYvxNEaQFXLrRW6%2F-MBwgklC3el4rClOCon9%2Fimage.png?alt=media\&token=f7ffe5a2-9416-48f1-8a24-144280a42b55)

{% hint style="info" %}
You may also develop your own answer types [widgets](/form-management/form-designer/answers/answer-types/creating-new-type/widget.md) using plain javascript and html.
{% endhint %}

## 🔠️️ Mixing answer types

As you can see in the example below you can build a question using any kind of answer types.

![](https://1025048312-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBwZZ6EFOdrs6vwJvBT%2F-MBwbd4W4Nf4nH9uOXSh%2Fimage.png?alt=media\&token=fecce40a-5761-46eb-b763-fcd06939a28b)

{% hint style="info" %}
In the sample contact form above we used a [field](/form-management/form-designer/answers/answer-types/entry-field.md), an [email validator ](/form-management/form-designer/answers/answer-types/email-validator.md)and a  [captcha](/form-management/form-designer/answers/answer-types/captcha.md) validation answer type to build our question.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ngsurvey.com/form-management/form-designer/answers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
