Translations:Manual:HTMLForm Tutorial 3/189/en

In $formdescriptor, there are two ways to declare a field type: by the $class or the $type attributes.