[TYPO3-german] EXT_formhandler: Validator springt nicht an

Reinhard Führicht rf at typoheads.at
Tue Nov 3 23:19:34 CET 2009


Beispiel:

plugin.Tx_Formhandler.settings.predef.contact {
   isErrorMarker {
     global = Es sind Fehler aufgetreten!
     default = style="color:red"
     firstname = class="error"
   }
}

Ist auch im Manual nachzulesen.

Viele Grüße,
Reinhard

Rainer Schleevoigt schrieb:
> Reinhard Führicht schrieb:
> 
> 
> Das klingt ja wirklich durchdacht. Auf welcher Ebene kommt das rein?
> 
> Rainer
>>> Wenn ich jetzt noch wüsst, wie ich statt ###ERROR### (wo dann alle 
>>> Fehler gelistet sind) ein festes Textfeld im Fehlerfalle hinbekommme 
>>> („da fehlt noch was“), wäre ich sehr zufrieden.
>>
>> In diesem Fall müsste dir das Settings isErrorMarkers helfen.
>>
>> Ins HTML-Template den Marker ###is_error### rein und im Typoscript
>>
>> isErrorMarker {
>>   global = TEXT
>>   global.value = da fehlt noch was
>> }
>>
>> Geht auch pro Feld, wenn man z.B. im Fehlerfall mit CSS das Feld rot 
>> umranden möchte.
>>
>> ###is_error_vorname###
>>
>> isErrorMarker {
>>   vorname = TEXT
>>   vorname.value = class="error"
>> }
>>
>> Viele Grüße,
>> Reinhard
>> _______________________________________________
>> TYPO3-german mailing list
>> TYPO3-german at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
> 


More information about the TYPO3-german mailing list