[TYPO3-german] formhandler - email doppelt eingeben
Sebastian Schmal
sebastian.schmal at gmx.de
Wed Sep 4 11:03:33 CEST 2013
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
More information about the TYPO3-german
mailing list