[TYPO3-german] Tut mir leid: mailformplus, TS und errorCheck Problem
Gerhard Mehsel
sparking at gmx.net
Mon Dec 10 15:05:19 CET 2007
Hallo und guten Tag,
es tut mir leid, dass ich schon wieder mit meinem Sch*** daherkomme aber
ich komme nicht weiter und der Kunde ist langsam sehr sehr säuerlich, da
nichts fertig wird und ich nicht mehr weiter weiß.
Typo3 4.1.1, mailformplus 4.0.3
Kurz das Problem:
Schritt 2 ohne Lieferadresse => Schritt 3, errorCheck 'bank' funktioniert
Schritt 2 MIT Lieferadresse => Schritt 3, errorCheck 'bank' funktioniert
nicht mehr, TS Setting X.X.X.email_requiredfields wird schlichtweg
ignoriert, obwohl im Typoscript-Object-Browser richtig zu sehen
Folgenden Weg habe ich durch mein Multipage Formular(ich hoffe die
Formatierung bleibt einigermaßen!):
1)Versandadresse
|
2)Lieferadresse (optional, aber wenn dann Errcheck 'delivery')
/ \
/ \
3)Versand Dtl Versand andere Länder
/ \ \
3.1)ZahlungBank 3.2)Zahlung Rechnung [...]
(errcheck 'bank') \
/ \
4.1)Zusammenfassung1 4.2)Zusammenfassung2
/ \
fertig fertig
# allgemeiner Default-Weg, läuft auf CC-Zahlung raus
plugin.tx_thmailformplus_pi1.default.email_requiredfields = creditcard
# letzter Schritt, allgemeiner Weg, mit zusaetzl Lieferadresse
[globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _delivery
plugin.tx_thmailformplus_pi1.default.email_requiredfields = delivery,
creditcard
[global]
# fuer Deutschland gibt es keine CC Zahlung
[globalVar = GP:country = Deutschland]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.3.postfix = _deutschland
[global]
# fuer Deutschland und Lieferadresse, CC nicht noetig
[globalVar = GP:country = Deutschland] && [globalVar =
GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.multipage.3.postfix = _deutschland
plugin.tx_thmailformplus_pi1.default.email_requiredfields = delivery
[global]
#######################################################################################################
# fuer Deutschland, Zahlung per Rechnung
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing =
Rechnung]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandinvoice
[global]
# fuer Deutschland, Zahlung per Rechnung und Lieferadresse
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing =
Rechnung] && [globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.default.email_requiredfields =
plugin.tx_thmailformplus_pi1.multipage.4.postfix =
_deutschlandinvoicedelivery
[global]
#######################################################################################################
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing =
Ueberweisung]
plugin.tx_thmailformplus_pi1.multipage.4.postfix = _deutschlandbanktrans
plugin.tx_thmailformplus_pi1.default.email_requiredfields = bank
[global]
[globalVar = GP:country = Deutschland] && [globalVar = GP:cashing =
Ueberweisung] && [globalVar = GP:deliveryaddress = Ja]
plugin.tx_thmailformplus_pi1.default.email_requiredfields = bank
plugin.tx_thmailformplus_pi1.multipage.4.postfix =
_deutschlandbanktransdelivery
[global]
Es funktioniert alles bis zu (**) bzw. (***). Wenn in Schritt 2 des
Formulars keine Lieferadresse eingegeben wird, dann wird über die
Conditions zu (**) geleitet, alles funktioniert, im Schritt 3 wird der
Errorcheck 'bank' erfolgreich durchgeführt.
Wenn aber in Schritt 2 eine Lieferadresse angegeben wird, wird diese
Lieferadresse geprüft (errorcheck 'delivery') und ich werde für Schritt
3 zu (***) geleitet. Und da passierts: kein Errorcheck mehr , es wird
ohne Prüfung einfach weitergeleitet zu Schritt 4. Das komische daran: er
wertet die Condition richtig aus, da
1.) in diesem Fall auch plugin.tx_thmailformplus_pi1.multipage.4.postfix
= _deutschlandbanktransdelivery richtig gesetzt ist (an der Stelle
(***)) und
2.) ich im TypoScript Objekt Browser bei gesetzten Conditions sehe, dass
in diesem Fall der ErrorCheck im TS auf 'bank' steht. Er wird aber nicht
ausgeführt.
Irgendwelche Ideen?
Schöne Grüße,
Gerd
More information about the TYPO3-german
mailing list