Translations:Manual:HTMLForm Tutorial 2/34/en

to the formDescriptor. Any $validationcallback will overwrite required. If you want to validate a required field, add the following logic to your validation callback function: