---
title: "formhandler multistep conditions"
url: "https://www.typo3.net/d/107203-formhandler-multistep-conditions"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2011-09-08"
last_reply: "2011-09-08"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# formhandler multistep conditions

Extensions · 0 Antworten · gestartet 2011-09-08

## Eröffnungsbeitrag

**bmiko** · 2011-09-08 · [Beitrag #1](https://www.typo3.net/d/107203-formhandler-multistep-conditions/1)

Hallo,
ich sitze jetzt seit gestern an einem Formular welches über mehrer Schritte gehen soll.
Die Auswahl bei Schritt 1 bestimmt Schritt 2 usw...

```html
Schritt 1        Schritt 2        Schritt 3        Schritt 4          Fertig
auswahl1         fragen Ausw.1    allg. Angaben    allg. Angaben 2
auswahl2                          allg. Angaben    allg. Angaben 2
auswahl3         fragen Ausw.3    allg. Angaben    allg. Angaben 2
auswahl4                          allg. Angaben    allg. Angaben 2
```

Die Conditions funktionieren.
Problem ist jetzt der letzte Schritt.
bei Auswahl 1 sind es ja 4 Schritte, bei Auswahl 2 sind es 3 Schritte.
Genau so hab ich auch das Template angelegt:

```html
<!-- ###TEMPLATE_FORM1### begin -->
inhalt
<!-- ###TEMPLATE_FORM1### end-->


<!-- ###TEMPLATE_FORM2_1### begin -->
inhalt
<!-- ###TEMPLATE_FORM2_1### end-->

<!-- ###TEMPLATE_FORM2_3### begin -->
inhalt
<!-- ###TEMPLATE_FORM2_3### end-->

<!-- ###TEMPLATE_FORM3_1### begin -->
<!-- ###TEMPLATE_FORM3_3### begin -->
<!-- ###TEMPLATE_FORM2### begin -->
inhalt
<!-- ###TEMPLATE_FORM2### end-->
<!-- ###TEMPLATE_FORM3_3### end-->
<!-- ###TEMPLATE_FORM3_1### end-->

<!-- ###TEMPLATE_FORM4_1### begin -->
<!-- ###TEMPLATE_FORM4_3### begin -->
<!-- ###TEMPLATE_FORM3### begin -->
inhalt
<!-- ###TEMPLATE_FORM3### end-->
<!-- ###TEMPLATE_FORM4_3### end-->
<!-- ###TEMPLATE_FORM4_1### end-->
```

Der letzte Schritt wird bei den Fällen mit den Conditions nicht angezeigt.
Wenn ich <!-- ###TEMPLATE_FORM3### begin --> und <!-- ###TEMPLATE_FORM3### end--> entferne wird Schritt 4 ausgeführt.

Ich hoffe ich habe das jetzt verständlich erklärt.

Hier noch das TS:

```typoscript
plugin.Tx_Formhandler.settings{
  if{
    1 {
      conditions.OR1.AND1 = auswahl=auswahl1
      isTrue.2.templateSuffix = _1
    }
    2 {
      conditions.OR1.AND1 = auswahl=auswahl3
      isTrue.2.templateSuffix = _3
    }
  }  
}
```

Woran liegt das?
Hab ich etwas übersehen oder nen Fehler im TS gemacht?

Lieben Gruß
Björn

---

Quelle: „formhandler multistep conditions“, typo3.net, https://www.typo3.net/d/107203-formhandler-multistep-conditions
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
