---
title: "\"if\"-Anweisung im Typoscript"
url: "https://www.typo3.net/d/1793-if-anweisung-im-typoscript"
source: "typo3.net"
tags: ["TYPO3","TypoScript","Frage"]
created: "2003-03-20"
last_reply: "2003-03-20"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# "if"-Anweisung im Typoscript

TYPO3 › TypoScript · 0 Antworten · gestartet 2003-03-20

## Eröffnungsbeitrag

**shOrt** · 2003-03-20 · [Beitrag #1](https://www.typo3.net/d/1793-if-anweisung-im-typoscript/1)

Hi

Ich habe zu tt_content ein Feld hinzugefügt (Typ ist Link)
Jetzt möchte ich je nachdem ob das Feld einen Inhalt hat, einen Teil meines Typoscripts ausführen, in etwa so:

```typoscript
[wenn feld tt_content:mein_neues_feld = ""]
10 = TEXT
10.value = da stand nix drin
[else]
10 = TEXT
10.value = da stand was drin
[end]
```

Wie bekomm ich das hin?

---

Quelle: „"if"-Anweisung im Typoscript“, typo3.net, https://www.typo3.net/d/1793-if-anweisung-im-typoscript
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
