[TYPO3-german] Re: mailformplus errorCheck mit GPvar? - GELÖST

lee perry leeperry at slack.de
Tue Aug 5 10:03:24 CEST 2008


hi ralf,

> [globalVar = GP:formFieldWithUid = 1]
> plugin.tx_thmailformplus_pi1.fieldConf.email {
>   errorCheck = isInDBTable:tt_address|email|AND uid=1
> }
> [global]
> 
> ... ist zugegebenermaßen nicht so wirklich flexibel.

ja, das ist bei vielen hundert verschiedenen uid's sehr unflexibel :)

> 
> Ansonsten gibt's ja noch ein paar Hooks 
> (http://typo3.org/extensions/repository/list/th_mailformplus//info/hooks%252Fclass.tx_thmailformplus_hooksHandler.php/ 
> ) und userFuncs (siehe Manual).

ja genau - hab das über userValidation gelöst und ein paar parameter mit 
übergeben und darauf ein eigenes script angewandt.

plugin.tx_thmailformplus_pi1 {
   fieldConf {
     email.errorCheck = userValidation
     email.errorCheck {
       uidByGPvar = 1
       GPUidName = uuid
       forceUid = 1
       isInDBTable = tt_address|email|and pid="109" and deleted="0"
     }
   }
}


vielen dank und viele grüße,
lee


More information about the TYPO3-german mailing list