Hi jaaf,
Your database field is called 'MyType', but your field name is 'MyTypeID'. You only need to append 'ID' if you're referring to a has_one relation, so you should rename your field (the first, $name parameter) to 'MyType'.
Loz
Posted to: How to use an OptionsetField ? | Show Thread | Post Reply