[TYPO3-english] Conditions problem tx_formhandler
deltawingmedia
bobtheunissen87 at gmail.com
Tue May 10 16:43:21 CEST 2011
Hi all,
Halfway my formhandler form the conditions stopped working and I can't
discover why or how to solve it.
Can somebody help me with this??
I have a multistep form for a travel agency, containing 6 steps:
Step 1 = name, address, phone number
Step 2 = country of destination
Step 3 = type of holiday (Dutch: type reis)
Step 4 = holiday (which specific one)
Step 5 = info about holiday
Step 6 = closing and agreement
In steps 1, 2 the conditions are working properly.
On step 3 the conditions (for going to step 4) don't work anymore.
Here is my TS:
[START TS]
#...Step 1 working properly...
#...Step 2 working properly...
## CONDITIONS STAP 3 ## - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - -
plugin.Tx_Formhandler.settings.predef.default.3 {
if{
1{
conditions{
OR1{
AND1 = type_reis=Fly drive
}
OR2{
AND1 = type_reis=Eilandhoppen
}
OR3{
AND1 = type_reis=Actieve vakantie
}
}
isTrue{
# shows step 4 containing a select box
templateSuffix = _flydrive
}
}
2{
conditions{
OR1{
AND1 = type_reis=Maatreis
}
OR2{
AND1 = type_reis=Zon- en strandvakantie
}
OR3{
AND1 = type_reis=Winterzon
}
OR4{
AND1 = type_reis=Wintersport
}
OR5{
AND1 = type_reis=Stedentrip
}
OR6{
AND1 = type_reis=Losse accommodaties
}
}
isTrue.1{
# should show step 4 containing a text input
# but shows redirect page and sends emails to user and admin
templateSuffix = _waaromwaarom
}
}
}
}
## CONFIGURATION STAP 3 ## - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
plugin.Tx_Formhandler.settings.predef.default.3 {
# ...Errorchecks step 3 work properly...
}
#...Step 4...
#...Step 5...
#...Step 6...
#...General configuration...
[END TS]
If you need more details, let me know.
Greetings,
Bob
--
View this message in context: http://old.nabble.com/Conditions-problem-tx_formhandler-tp31586168p31586168.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list