[TYPO3-german] MailformPlus required fields mit conditions setzen/deaktivieren

Andreas Sahle as at design-frei.de
Tue Jun 2 15:30:28 CEST 2009


Hallo,

ich bräuchte Hilfe bei folgendem Problem:
ich möchte bei ein paar Formulareingaben bei Checkboxen bzw. Radios  
andere aus dem Error-Checking ausnehmen.
das geht auch mittels der Eigenschaft ".disableErrorCheckFields" der  
extension Mailformplus, allerdings schaffe ich es nicht der  
kommaseparierten Liste neue Werte hinzuzufügen.
Ich will aber nicht alle möglichen Kombinationen von Conditions  
abfragen, sondern nur die entsprechenden Werte hinzufügen.

Aber leider scheint der Ansatz mit der Funktion addToList() oder  
appendString(), wie unten verwendet nicht zu funktionieren.
Oder hab ich da Syntax-Fehler?

[globalVar = GP:haendler=Haendler]
plugin.tx_thmailformplus_pi1.disableErrorCheckFields :=  
addToList('hersteller')
[global]
[globalVar = GP:hersteller=Hersteller]
plugin.tx_thmailformplus_pi1.disableErrorCheckFields :=  
addToList('haendler')
[global]
[globalVar = GP:quali=Nein]
plugin.tx_thmailformplus_pi1.disableErrorCheckFields :=  
appendString('zert01,zert02,zert03,zertinst')
[global]
[globalVar = GP:zert01=ISO 9000] || [globalVar = GP:zert02=QS 9000] ||  
[globalVar = GP:zert03=ISO 14001]
plugin.tx_thmailformplus_pi1.disableErrorCheckFields :=  
appendString('zert01,zert02,zert03')
[global]

Vielen Dank für die Hilfe!

Andreas Sahle






More information about the TYPO3-german mailing list