Hallo,
weis jemand wie man für den Formhandler eine Condition im TS erstellt die den value="Herr" und value="Frau" vom Template den ich so bezeichnet habe für das tt_address verständlich für die DB in den gender f und m umwandelt?
Alles wird richtig für tt_address übernommen nur eben der gender nicht...
Kann mir jemand sagen wie das gemacht wird?
Danke für Eure Hilfe!

Hier noch mein TypoScript das soweit funktioniert bis auf die condition:
PHP-Code:
# Formhandler User anlegen
plugin.Tx_Formhandler.settings.predef.default {

  
# GENERAL CONFIGURATION
  
name = Default
  
addErrorAnchors 1
  formValuesPrefix 
formhandler

  
# ERRORS LAYOUT
  
singleErrorTemplate {
    
totalWrap = <div>|</div>
    
singleWrap = <span class="error">|</span><br />
  }

  
errorListTemplate {
    
totalWrap = <ul>|</ul>
    
singleWrap = <li class="error">|</li>
  }

  
validators {
    
1.class = Tx_Formhandler_Validator_Default
    1.config 
{
      
fieldConf {
      }
    }
  }

  
finishers {
    
1.class = Tx_Formhandler_Finisher_Mail
    1.config 
{
      
limitMailsToUser 5
      admin 
{
      }
      
user {
      }
    }
    
2.class = Tx_Formhandler_Finisher_DB
    2.config 
{
      
table tt_address
      key 
uid
      fields 
{
        
pid.ifIsEmpty 2
        gender
.mapping anrede
        first_name
.mapping vorname
        last_name
.mapping name
        email
.mapping email
        phone
.mapping telefon
        address
.mapping strasse
        zip
.mapping plz
        country
.mapping land
        module_sys_dmail_html
.ifIsEmpty 1
        
      
}
    }
    
3.class = Finisher_GenerateAuthCode
    3.config 
{
      
table tt_address
    
}

    
4.class = Tx_Formhandler_Finisher_Redirect
    4.config 
{
    }
  }
}

plugin.Tx_Formhandler.settings {
  
{
    
conditions {
      
OR1 {
        
AND1 Herr
        AND2 
Frau
      
}
    }
  }