Translations:Manual:HTMLForm Tutorial 2/87/en

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