> 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/de/form-management/form-designer/answers/answer-types/compare-field.md).

# Vergleichsfeld

Der Antworttyp Compare Field ermöglicht es Ihnen, den Eintrag des Befragten in diesem Feld mit einem Eintrag in einem anderen Feld der Umfrage oder mit einem von Ihnen definierten festen Wert oder Wertebereich zu vergleichen.

![](https://133942686-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBy9K6mPB7MITp_lb-s%2F-MBy9S2IyW6oyJ5j1ZeC%2Fimage.png?alt=media\&token=6f6d33d5-2982-4766-946b-1e5d6dd79610)

Im obigen Beispiel ist Confirm password das Compare Field und vergleicht seinen Wert mit dem Feld Password, um sicherzustellen, dass diese übereinstimmen.

## 👥 Vergleich mit einem anderen Antwortwert

Um einen Wert mit einer anderen Antwort zu vergleichen, müssen Sie deren [Antwort-Eigenschaften](/de/form-management/form-designer/answers/answer-properties.md) Seite öffnen und dessen **Answer label** auf das Feld setzen, mit dem Sie vergleichen möchten.

![](https://133942686-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBy9aPXIDWP9xgiKEHK%2F-MBy9qMYm2H07Il2Yo0E%2Fimage.png?alt=media\&token=f14b4218-7b14-4c5a-a91a-1c760d8520d9)

Im obigen Beispiel vergleicht das Compare Field den im Password-Antwortfeld eingegebenen Wert und prüft, ob er gleich dem im Compare Field eingegebenen Wert ist.

## 🔢 Vergleich mit einem statischen Wert

Um einen statischen Wert mit der Antwort des Befragten zu vergleichen, müssen Sie dessen [Antwort-Eigenschaften](/de/form-management/form-designer/answers/answer-properties.md) Seite öffnen und die **Respondent answer** oder **Respondent answer range** auf&#x20;

![](https://133942686-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBy9aPXIDWP9xgiKEHK%2F-MByBJ1QbLQEV4meSN-f%2Fimage.png?alt=media\&token=01e6ca43-a55b-4639-b055-926186f173b2)

Im Beispiel vergleicht das Compare Field die Eingabe des Befragten und stellt sicher, dass sie gleich 10 ist.

Für Ihren Vergleich können Sie die folgenden Bedingungen verwenden.

![](https://133942686-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M8fLhS0bmfBRyq0HdUm%2F-MBy9aPXIDWP9xgiKEHK%2F-MByBc7Az10WMD705WiF%2Fimage.png?alt=media\&token=17095c72-15dd-46ee-808d-b53eeeacf34f)

{% hint style="info" %}
Vergleiche sind typabhängig: Wenn Sie beispielsweise den numerischen Typ ausgewählt haben, wäre 10 größer als 9; wäre es ein Datum, wäre der 2. Juni größer als der 1. Juni.
{% 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/de/form-management/form-designer/answers/answer-types/compare-field.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.
