---
title: "Then ViewHelper <f:then>"
manual: "Fluid Explained"
version: "main"
permalink: "https://docs.typo3.org/permalink/fluid:typo3fluid-fluid-then"
source: "ViewHelpers/Fluid/Then.rst"
rendered: "2026-09-26T08:24:58+00:00"
---

# Then ViewHelper `<f:then>` {#typo3fluid-fluid-then}

> [!NOTE]
> This reference is part of the documentation of Fluid Standalone.
> If you are working with Fluid in TYPO3 CMS, please refer to
> [TYPO3's ViewHelper reference](https://docs.typo3.org/other/typo3/view-helper-reference/14.3/en-us/Global/Then.html) instead.

`f:then` only has an effect inside of `f:if`. See the `f:if` ViewHelper for documentation.

Go to the source code of this ViewHelper: [ThenViewHelper.php (GitHub)](https://github.com/TYPO3/Fluid/blob/main/src/ViewHelpers/ThenViewHelper.php).
