[TYPO3-german] Formhandler: Mehrere unabhängige Conditions im Formular
Reinhard Führicht
fuehricht at gmx.at
Wed May 22 13:19:55 CEST 2013
Hallo Ralf,
Am 22.05.2013 10:19, schrieb Ralf Schlömer:
> ...
> if.1 {
> conditions {
> OR.1.AND1 = fieldA=1
> isTrue {
> 1.validators.1.config.fieldConf.fieldB.errorCheck.1 = required
> }
> OR2.AND1 = fieldC=1
> isTrue {
> 1.validators.1.config.fieldConf.fieldD.errorCheck.1 = required
> }
> }
> }
> ...
>
> oder
>
> ...
> if.1 {
> 1.conditions {
> OR.1.AND1 = fieldA=1
> isTrue {
> 1.validators.1.config.fieldConf.fieldB.errorCheck.1 = required
> }
> }
> 2.conditions {
> OR1.AND1 = fieldC=1
> isTrue {
> 1.validators.1.config.fieldConf.fieldD.errorCheck.1 = required
> }
> }
> }
> ...
so müsste es eigentlich klappen:
if {
1.conditions {
OR.1.AND1 = fieldA=1
isTrue {
1.validators.1.config.fieldConf.fieldB.errorCheck.1 = required
}
}
2.conditions {
OR1.AND1 = fieldC=1
isTrue {
1.validators.1.config.fieldConf.fieldD.errorCheck.1 = required
}
}
}
Also statt "if.1" nur "if".
Viele Grüße,
Reinhard
--
--------------------------------
http://www.typo3-formhandler.com
--------------------------------
More information about the TYPO3-german
mailing list