Perfekt, hat geklappt.
hier einmal für alle:

validators {
    1.class = Validator_Default
    1.config.fieldConf {
      firstname.errorCheck.1 = required
      lastname.errorCheck.1 = required
      email.errorCheck.1 = required
      email.errorCheck.2 = email
      email2.errorCheck.1 = required
      email2.errorCheck.2 = email

      freecapfield.errorCheck.1 = required
      freecapfield.errorCheck.2 = srFreecap

      file.errorCheck {

        # Allow only the configured file extensions
        1 = fileAllowedTypes
        1.allowedTypes = pdf,doc,docx,jpg,png

        # Max size of a file 5MB
        2 = fileMaxSize
        2.maxSize = 5242880

        # Max 3 files are allowed to be uploaded though this upload field
        3 = fileMaxCount
        3.maxCount = 3
      }
    }
    2.class = Validator_Default
    2.config.fieldConf {
      email2.errorCheck.1 = equalsField
      email2.errorCheck.1.field = email
    }
  }

------------------------------------------

TYPO3 - TIPS - ANLEITUNGEN - NEWS
unter: http://blog.ingeniumdesign.de/

TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/

Facebook Fan
http://www.facebook.com/ingeniumdesign/

------------------------------------------

Am 03.09.2013 18:11, schrieb Matthias Eberlein:
Hi Seba,
ich denke das kannst du mit

     validators {
         2.class = Validator_Default
         2.config.fieldConf {
                        mail1.errorCheck.1 = equalsField
                        mail1.errorCheck.1.field = mail2
         }
     }

gruss
maty
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an