There are 3 types hardcoded in “Type” selector box:
You can add new types with user or group typoscript. If you set the “Add default evaluation types” by installation this tsConfig code is added to default user tsConfig code:
formEvalWizard{
alphabet{
ereg=^[a-zA-Z]*$
name=Alphabet
}
number{
ereg=^[0-9]*$
name=Number
}
}
and you become this:
On this tsConfig code you can see how to extend evaluation types:
formEvalWizard{
somestring{
ereg=regular expression
name=name to show in selector box
}
}
e.g. if you want to add birthdate you can do it with this tsConfig code:
formEvalWizard{
birthdate{
ereg=^[0-9]{2}\.[ ]+[0-9]{2}\.[ ]+[0-9]{4}
name=Date of birth
}
}
and you become this:
If you want to delete type from selector box, you can do it with this tsConfig code:
formEvalWizard{
typetodelete{
delete=1
}
}
e.g. if you want to delete the default alphabet type you can do it with this tsConfing code:
formEvalWizard{
alphabet{
delete=1
}
}