Setting up form validation using Drupal "Form API Validation" module. Drupal Technical | 1 min read Form API validation is a contributed module which allows us to write the validation rules in custom forms, without the use of hook_validate/form_validate function